usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 117940  bytes 18718783 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170993  bytes 163949352 (163.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 92867  bytes 11886990 (11.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92867  bytes 11886990 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118005  bytes 18732816 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171069  bytes 163964064 (163.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 92993  bytes 11904866 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92993  bytes 11904866 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118105  bytes 18747458 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171150  bytes 163980476 (163.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 93156  bytes 11923445 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93156  bytes 11923445 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118470  bytes 18789181 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171424  bytes 164032829 (164.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 93851  bytes 11994549 (11.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93851  bytes 11994549 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118556  bytes 18799949 (18.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171496  bytes 164046429 (164.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 94006  bytes 12008897 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94006  bytes 12008897 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 118981  bytes 18849635 (18.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171853  bytes 164119966 (164.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 94806  bytes 12097039 (12.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94806  bytes 12097039 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119299  bytes 18878384 (18.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172093  bytes 164170408 (164.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 95378  bytes 12154689 (12.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95378  bytes 12154689 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119618  bytes 18917898 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172342  bytes 164213881 (164.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 95904  bytes 12206427 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95904  bytes 12206427 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 119757  bytes 18937025 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172453  bytes 164233617 (164.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 96138  bytes 12231871 (12.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96138  bytes 12231871 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120223  bytes 18985486 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173086  bytes 164934298 (164.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 96599  bytes 12625941 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96599  bytes 12625941 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120242  bytes 18990238 (18.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173114  bytes 164938660 (164.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 96634  bytes 12628291 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96634  bytes 12628291 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120297  bytes 19003568 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173186  bytes 164952612 (164.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 96740  bytes 12645067 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96740  bytes 12645067 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120339  bytes 19010293 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173225  bytes 164959373 (164.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 96803  bytes 12650291 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96803  bytes 12650291 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120411  bytes 19027072 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173313  bytes 164975536 (164.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 96946  bytes 12672267 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96946  bytes 12672267 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120428  bytes 19031741 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173336  bytes 164979561 (164.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 96966  bytes 12673633 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96966  bytes 12673633 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120507  bytes 19049601 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173432  bytes 164998178 (164.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 97101  bytes 12692357 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97101  bytes 12692357 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120526  bytes 19054386 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173455  bytes 165002204 (165.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 97121  bytes 12693735 (12.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97121  bytes 12693735 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120602  bytes 19072157 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173554  bytes 165020911 (165.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 97256  bytes 12712465 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97256  bytes 12712465 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120626  bytes 19077915 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173585  bytes 165025589 (165.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 97282  bytes 12715359 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97282  bytes 12715359 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120683  bytes 19091500 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173660  bytes 165039772 (165.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 97403  bytes 12733141 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97403  bytes 12733141 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120701  bytes 19096252 (19.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173685  bytes 165043927 (165.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 97428  bytes 12734781 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97428  bytes 12734781 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120758  bytes 19109765 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173761  bytes 165058141 (165.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 97554  bytes 12752775 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97554  bytes 12752775 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120776  bytes 19114498 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173784  bytes 165062169 (165.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 97576  bytes 12754303 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97576  bytes 12754303 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120840  bytes 19129131 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173871  bytes 165077283 (165.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 97712  bytes 12774079 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97712  bytes 12774079 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120864  bytes 19134372 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173899  bytes 165081697 (165.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 97738  bytes 12775899 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97738  bytes 12775899 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120922  bytes 19148036 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173979  bytes 165096382 (165.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 97862  bytes 12793902 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97862  bytes 12793902 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 120966  bytes 19157372 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174027  bytes 165104989 (165.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 97895  bytes 12796156 (12.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97895  bytes 12796156 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121021  bytes 19170802 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174103  bytes 165119224 (165.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 98017  bytes 12813970 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98017  bytes 12813970 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121098  bytes 19187953 (19.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174193  bytes 165135438 (165.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 98119  bytes 12829032 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98119  bytes 12829032 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121226  bytes 19218990 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174349  bytes 165166688 (165.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 98414  bytes 12875969 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98414  bytes 12875969 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121246  bytes 19223834 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174376  bytes 165170987 (165.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 98436  bytes 12877475 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98436  bytes 12877475 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121299  bytes 19237204 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174453  bytes 165185295 (165.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 98567  bytes 12895779 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98567  bytes 12895779 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121318  bytes 19241965 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174477  bytes 165189365 (165.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 98587  bytes 12897157 (12.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98587  bytes 12897157 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121381  bytes 19256874 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174563  bytes 165204477 (165.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 98718  bytes 12916769 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98718  bytes 12916769 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121402  bytes 19261799 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174589  bytes 165208695 (165.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 98738  bytes 12918135 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98738  bytes 12918135 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 121459  bytes 19275509 (19.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 174665  bytes 165222943 (165.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 98855  bytes 12935637 (12.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98855  bytes 12935637 (12.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 128027  bytes 19650610 (19.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 193164  bytes 192971872 (192.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 101510  bytes 39802357 (39.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101510  bytes 39802357 (39.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129565  bytes 19747679 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196346  bytes 197520602 (197.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 102008  bytes 44069559 (44.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102008  bytes 44069559 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129608  bytes 19757613 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196398  bytes 197529622 (197.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 102049  bytes 44073489 (44.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102049  bytes 44073489 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129663  bytes 19771073 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196468  bytes 197543476 (197.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 102162  bytes 44090689 (44.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102162  bytes 44090689 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129681  bytes 19775739 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196496  bytes 197547835 (197.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 102186  bytes 44092393 (44.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102186  bytes 44092393 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129738  bytes 19789441 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196576  bytes 197562407 (197.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 102313  bytes 44110549 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102313  bytes 44110549 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129755  bytes 19794055 (19.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196600  bytes 197566471 (197.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 102331  bytes 44111787 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102331  bytes 44111787 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129816  bytes 19808733 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196683  bytes 197581427 (197.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 102466  bytes 44131725 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102466  bytes 44131725 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129837  bytes 19813663 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196710  bytes 197585713 (197.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 102484  bytes 44132963 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102484  bytes 44132963 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129896  bytes 19827455 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196785  bytes 197599921 (197.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 102607  bytes 44150873 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102607  bytes 44150873 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129945  bytes 19837009 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196839  bytes 197609308 (197.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 102643  bytes 44153261 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102643  bytes 44153261 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 129995  bytes 19850191 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196907  bytes 197623032 (197.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 102766  bytes 44170957 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102766  bytes 44170957 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130040  bytes 19860222 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 196965  bytes 197632468 (197.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 102809  bytes 44175059 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102809  bytes 44175059 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130096  bytes 19873711 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197032  bytes 197646141 (197.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 102918  bytes 44192051 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102918  bytes 44192051 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130114  bytes 19878377 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197060  bytes 197650500 (197.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 102944  bytes 44193895 (44.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102944  bytes 44193895 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130175  bytes 19892243 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197137  bytes 197664857 (197.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 103075  bytes 44212260 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103075  bytes 44212260 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130192  bytes 19896915 (19.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197162  bytes 197669034 (197.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 103095  bytes 44213638 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103095  bytes 44213638 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130257  bytes 19911816 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197242  bytes 197683735 (197.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 103236  bytes 44233756 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103236  bytes 44233756 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130278  bytes 19916746 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197272  bytes 197688243 (197.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 103260  bytes 44235460 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103260  bytes 44235460 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130334  bytes 19930272 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197340  bytes 197701899 (197.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 103374  bytes 44252688 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103374  bytes 44252688 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130379  bytes 19939696 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197396  bytes 197711262 (197.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 103420  bytes 44255836 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103420  bytes 44255836 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130437  bytes 19953491 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197469  bytes 197725304 (197.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 103548  bytes 44273828 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103548  bytes 44273828 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130483  bytes 19963812 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197529  bytes 197734966 (197.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 103593  bytes 44278096 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103593  bytes 44278096 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130541  bytes 19977466 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197599  bytes 197748761 (197.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 103716  bytes 44295792 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103716  bytes 44295792 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130559  bytes 19982132 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197626  bytes 197753046 (197.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 103740  bytes 44297496 (44.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103740  bytes 44297496 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130614  bytes 19995505 (19.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197698  bytes 197767017 (197.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 103873  bytes 44315738 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103873  bytes 44315738 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130631  bytes 20000165 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197726  bytes 197771424 (197.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 103901  bytes 44317674 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103901  bytes 44317674 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130697  bytes 20014998 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197808  bytes 197786279 (197.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 104030  bytes 44336922 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104030  bytes 44336922 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130720  bytes 20020169 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197841  bytes 197791051 (197.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 104062  bytes 44339220 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104062  bytes 44339220 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130772  bytes 20033423 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197910  bytes 197804746 (197.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 104185  bytes 44356916 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104185  bytes 44356916 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130791  bytes 20038185 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 197941  bytes 197809473 (197.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 104216  bytes 44359022 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104216  bytes 44359022 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130869  bytes 20056126 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198033  bytes 197827896 (197.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 104351  bytes 44377506 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104351  bytes 44377506 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130894  bytes 20061949 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198067  bytes 197832816 (197.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 104386  bytes 44381038 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104386  bytes 44381038 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130965  bytes 20079270 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198161  bytes 197851059 (197.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 104524  bytes 44399694 (44.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104524  bytes 44399694 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 130985  bytes 20084114 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198189  bytes 197855442 (197.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 104552  bytes 44401666 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104552  bytes 44401666 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131039  bytes 20097531 (20.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198266  bytes 197869752 (197.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 104673  bytes 44419282 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104673  bytes 44419282 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131058  bytes 20102366 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198298  bytes 197874468 (197.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 104708  bytes 44421621 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104708  bytes 44421621 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131121  bytes 20116925 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198375  bytes 197888943 (197.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 104837  bytes 44440933 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104837  bytes 44440933 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131143  bytes 20121999 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198406  bytes 197893558 (197.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 104863  bytes 44442783 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104863  bytes 44442783 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131197  bytes 20135256 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198476  bytes 197907423 (197.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 104974  bytes 44459819 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104974  bytes 44459819 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131214  bytes 20139861 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198503  bytes 197911718 (197.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 104998  bytes 44461523 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104998  bytes 44461523 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131296  bytes 20157889 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198598  bytes 197930308 (197.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 105130  bytes 44479853 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105130  bytes 44479853 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131320  bytes 20163656 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198630  bytes 197935081 (197.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 105162  bytes 44483213 (44.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105162  bytes 44483213 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131403  bytes 20182137 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198728  bytes 197954045 (197.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 105294  bytes 44501645 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105294  bytes 44501645 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131423  bytes 20186931 (20.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198752  bytes 197958135 (197.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 105312  bytes 44502883 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105312  bytes 44502883 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131479  bytes 20200507 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198829  bytes 197972445 (197.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 105439  bytes 44520941 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105439  bytes 44520941 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131498  bytes 20205268 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198858  bytes 197976896 (197.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 105474  bytes 44523291 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105474  bytes 44523291 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131558  bytes 20219666 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198939  bytes 197991678 (197.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 105611  bytes 44543189 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105611  bytes 44543189 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131581  bytes 20224742 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 198968  bytes 197996139 (197.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 105637  bytes 44545043 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105637  bytes 44545043 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131636  bytes 20238179 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199042  bytes 198010296 (198.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 105750  bytes 44562255 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105750  bytes 44562255 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131654  bytes 20242900 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199067  bytes 198014482 (198.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 105776  bytes 44564087 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105776  bytes 44564087 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131734  bytes 20260912 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199165  bytes 198033280 (198.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 105902  bytes 44582154 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105902  bytes 44582154 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131756  bytes 20266623 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199193  bytes 198037821 (198.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 105928  bytes 44585048 (44.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105928  bytes 44585048 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131836  bytes 20284668 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199294  bytes 198056723 (198.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 106061  bytes 44603674 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106061  bytes 44603674 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131852  bytes 20289312 (20.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199316  bytes 198060720 (198.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 106081  bytes 44605052 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106081  bytes 44605052 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131906  bytes 20302642 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199393  bytes 198075100 (198.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 106199  bytes 44622642 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106199  bytes 44622642 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131925  bytes 20307336 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199421  bytes 198079438 (198.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 106232  bytes 44624852 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106232  bytes 44624852 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 131988  bytes 20322067 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199505  bytes 198094487 (198.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 106358  bytes 44644108 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106358  bytes 44644108 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132009  bytes 20327052 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199529  bytes 198098600 (198.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 106378  bytes 44645474 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106378  bytes 44645474 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132066  bytes 20340715 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199609  bytes 198113190 (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 106496  bytes 44663064 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106496  bytes 44663064 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 20345512 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199633  bytes 198117319 (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 106516  bytes 44664430 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106516  bytes 44664430 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132161  bytes 20363358 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199734  bytes 198136270 (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 106655  bytes 44683291 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106655  bytes 44683291 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132185  bytes 20369144 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199766  bytes 198141051 (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 106681  bytes 44686185 (44.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106681  bytes 44686185 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132260  bytes 20386910 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199866  bytes 198159836 (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 106810  bytes 44704517 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106810  bytes 44704517 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132279  bytes 20391652 (20.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199890  bytes 198163926 (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 106828  bytes 44705755 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106828  bytes 44705755 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132335  bytes 20405100 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199969  bytes 198178400 (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 106950  bytes 44723541 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106950  bytes 44723541 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132354  bytes 20409842 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 199994  bytes 198182564 (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 106975  bytes 44725182 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106975  bytes 44725182 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132413  bytes 20424276 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200077  bytes 198197458 (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 107101  bytes 44744464 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107101  bytes 44744464 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132434  bytes 20429379 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200104  bytes 198201859 (198.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 107127  bytes 44746296 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107127  bytes 44746296 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132488  bytes 20442677 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200179  bytes 198216047 (198.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 107244  bytes 44763834 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107244  bytes 44763834 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132506  bytes 20447382 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200202  bytes 198220095 (198.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 107262  bytes 44765072 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107262  bytes 44765072 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132562  bytes 20461018 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200283  bytes 198234908 (198.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 107398  bytes 44783697 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107398  bytes 44783697 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132739  bytes 20489630 (20.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200595  bytes 198584793 (198.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 107453  bytes 44788593 (44.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107453  bytes 44788593 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132795  bytes 20502956 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200668  bytes 198598841 (198.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 107567  bytes 44805955 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107567  bytes 44805955 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132834  bytes 20512061 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200717  bytes 198607540 (198.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 107597  bytes 44808069 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107597  bytes 44808069 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132887  bytes 20525489 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200791  bytes 198621682 (198.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 107714  bytes 44825607 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107714  bytes 44825607 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132906  bytes 20530231 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200817  bytes 198625922 (198.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 107734  bytes 44826973 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107734  bytes 44826973 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132965  bytes 20544757 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200902  bytes 198640982 (198.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 107877  bytes 44847307 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107877  bytes 44847307 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 132984  bytes 20549571 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 200925  bytes 198645016 (198.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 107895  bytes 44848545 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107895  bytes 44848545 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133042  bytes 20563384 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201004  bytes 198659585 (198.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 108016  bytes 44866373 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108016  bytes 44866373 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133061  bytes 20568176 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201031  bytes 198663903 (198.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 108038  bytes 44867879 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108038  bytes 44867879 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133115  bytes 20581510 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201106  bytes 198678076 (198.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 108156  bytes 44885469 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108156  bytes 44885469 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133164  bytes 20591873 (20.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201161  bytes 198687484 (198.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 108200  bytes 44889514 (44.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108200  bytes 44889514 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133219  bytes 20605381 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201235  bytes 198701622 (198.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 108323  bytes 44907390 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108323  bytes 44907390 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133256  bytes 20614313 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201282  bytes 198710177 (198.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 108356  bytes 44909638 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108356  bytes 44909638 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133315  bytes 20628336 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201356  bytes 198724326 (198.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 108473  bytes 44927010 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108473  bytes 44927010 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133332  bytes 20632974 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201383  bytes 198728655 (198.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 108497  bytes 44928714 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108497  bytes 44928714 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133392  bytes 20647671 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201469  bytes 198743844 (198.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 108636  bytes 44948874 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108636  bytes 44948874 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 20652691 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201496  bytes 198748155 (198.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 108658  bytes 44950380 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108658  bytes 44950380 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133468  bytes 20666093 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201572  bytes 198762419 (198.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 108776  bytes 44967970 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108776  bytes 44967970 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133486  bytes 20670759 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201597  bytes 198766569 (198.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 108794  bytes 44969208 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108794  bytes 44969208 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133542  bytes 20684328 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201669  bytes 198780559 (198.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 108911  bytes 44986782 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108911  bytes 44986782 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133594  bytes 20694888 (20.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201729  bytes 198790360 (198.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 108955  bytes 44990827 (44.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108955  bytes 44990827 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133649  bytes 20708397 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201802  bytes 198804441 (198.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 109074  bytes 45008339 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109074  bytes 45008339 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133688  bytes 20717276 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201853  bytes 198813220 (198.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 109109  bytes 45010785 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109109  bytes 45010785 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133743  bytes 20730790 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201925  bytes 198827333 (198.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 109225  bytes 45028117 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109225  bytes 45028117 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133761  bytes 20735456 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 201953  bytes 198831706 (198.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 109249  bytes 45029821 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109249  bytes 45029821 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133824  bytes 20750136 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202039  bytes 198846883 (198.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 109393  bytes 45050304 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109393  bytes 45050304 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133845  bytes 20755066 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202067  bytes 198851255 (198.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 109411  bytes 45051542 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109411  bytes 45051542 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133899  bytes 20768399 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202135  bytes 198864974 (198.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 109521  bytes 45068550 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109521  bytes 45068550 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133918  bytes 20773148 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202164  bytes 198869428 (198.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 109547  bytes 45070382 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109547  bytes 45070382 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 133973  bytes 20786558 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202237  bytes 198883471 (198.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 109659  bytes 45087506 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109659  bytes 45087506 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134021  bytes 20796867 (20.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202301  bytes 198893518 (198.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 109711  bytes 45092157 (45.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109711  bytes 45092157 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134077  bytes 20810424 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202374  bytes 198907620 (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 109824  bytes 45109369 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109824  bytes 45109369 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134117  bytes 20819613 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202429  bytes 198916781 (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 109863  bytes 45112109 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109863  bytes 45112109 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134175  bytes 20833209 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202502  bytes 198930878 (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 109974  bytes 45129205 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109974  bytes 45129205 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134197  bytes 20838157 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202533  bytes 198935499 (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 110000  bytes 45131075 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110000  bytes 45131075 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134260  bytes 20852896 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202614  bytes 198950329 (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 110130  bytes 45150519 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110130  bytes 45150519 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134278  bytes 20857672 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202642  bytes 198954752 (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 110156  bytes 45152327 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110156  bytes 45152327 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134337  bytes 20871407 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202715  bytes 198968903 (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 110274  bytes 45169833 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110274  bytes 45169833 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134354  bytes 20876069 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202743  bytes 198973324 (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 110298  bytes 45171537 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110298  bytes 45171537 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134411  bytes 20889626 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202815  bytes 198987316 (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 110419  bytes 45189165 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110419  bytes 45189165 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134438  bytes 20895641 (20.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202852  bytes 198992654 (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 110458  bytes 45192928 (45.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110458  bytes 45192928 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134522  bytes 20913794 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202949  bytes 199011332 (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 110583  bytes 45210904 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110583  bytes 45210904 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134544  bytes 20918723 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 202980  bytes 199015934 (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 110612  bytes 45212908 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110612  bytes 45212908 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134616  bytes 20936227 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203074  bytes 199034248 (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 110740  bytes 45231018 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110740  bytes 45231018 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134636  bytes 20941064 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203102  bytes 199038643 (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 110766  bytes 45232862 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110766  bytes 45232862 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134695  bytes 20955582 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203183  bytes 199053440 (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 110896  bytes 45252328 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110896  bytes 45252328 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134717  bytes 20960610 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203215  bytes 199058135 (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 110929  bytes 45254539 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110929  bytes 45254539 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134771  bytes 20974056 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203288  bytes 199072178 (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 111045  bytes 45271871 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111045  bytes 45271871 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134790  bytes 20978822 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203317  bytes 199076657 (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 111071  bytes 45273715 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111071  bytes 45273715 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134845  bytes 20992267 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203392  bytes 199090879 (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 111189  bytes 45291151 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111189  bytes 45291151 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134871  bytes 20998190 (20.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203428  bytes 199095975 (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 111221  bytes 45294511 (45.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111221  bytes 45294511 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134952  bytes 21016425 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203529  bytes 199115014 (199.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 111361  bytes 45313330 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111361  bytes 45313330 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 134971  bytes 21021167 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203555  bytes 199119255 (199.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 111385  bytes 45315034 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111385  bytes 45315034 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135048  bytes 21038957 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203652  bytes 199137753 (199.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 111515  bytes 45333264 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111515  bytes 45333264 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135069  bytes 21043870 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203678  bytes 199142016 (199.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 111535  bytes 45334642 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111535  bytes 45334642 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135137  bytes 21058862 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203765  bytes 199157458 (199.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 111671  bytes 45354560 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111671  bytes 45354560 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135164  bytes 21064159 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203799  bytes 199162282 (199.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 111706  bytes 45356898 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111706  bytes 45356898 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135228  bytes 21078478 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203879  bytes 199176880 (199.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 111830  bytes 45374670 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111830  bytes 45374670 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135249  bytes 21083341 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203906  bytes 199181205 (199.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 111856  bytes 45376540 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111856  bytes 45376540 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135310  bytes 21097286 (21.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 203983  bytes 199195511 (199.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 111980  bytes 45394324 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111980  bytes 45394324 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135336  bytes 21103458 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204016  bytes 199200401 (199.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 112006  bytes 45397218 (45.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112006  bytes 45397218 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135418  bytes 21121347 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204117  bytes 199219370 (199.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 112151  bytes 45416391 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112151  bytes 45416391 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135435  bytes 21126040 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204139  bytes 199223369 (199.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 112171  bytes 45417757 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112171  bytes 45417757 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135517  bytes 21144661 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204240  bytes 199242179 (199.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 112317  bytes 45437035 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112317  bytes 45437035 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135537  bytes 21149522 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204264  bytes 199246310 (199.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 112337  bytes 45438413 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112337  bytes 45438413 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135607  bytes 21164844 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204354  bytes 199262996 (199.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 112482  bytes 45458809 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112482  bytes 45458809 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135630  bytes 21170036 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204384  bytes 199267591 (199.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 112519  bytes 45461347 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112519  bytes 45461347 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135687  bytes 21183655 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204464  bytes 199282121 (199.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 112649  bytes 45479477 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112649  bytes 45479477 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135707  bytes 21188492 (21.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204486  bytes 199286089 (199.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 112669  bytes 45480855 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112669  bytes 45480855 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135772  bytes 21203014 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204568  bytes 199300942 (199.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 112797  bytes 45498965 (45.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112797  bytes 45498965 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135796  bytes 21208805 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204597  bytes 199305528 (199.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 112823  bytes 45501859 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112823  bytes 45501859 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135879  bytes 21227114 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204706  bytes 199325293 (199.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 112976  bytes 45521507 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112976  bytes 45521507 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135905  bytes 21232480 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204735  bytes 199329718 (199.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 112996  bytes 45522873 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112996  bytes 45522873 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 135985  bytes 21250627 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204837  bytes 199349642 (199.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 113139  bytes 45541969 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113139  bytes 45541969 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136006  bytes 21255566 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204862  bytes 199353815 (199.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 113159  bytes 45543335 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113159  bytes 45543335 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136073  bytes 21270479 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204947  bytes 199368887 (199.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 113299  bytes 45563371 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113299  bytes 45563371 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136095  bytes 21275528 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 204974  bytes 199373224 (199.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 113332  bytes 45565605 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113332  bytes 45565605 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136152  bytes 21289106 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205049  bytes 199387326 (199.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 113467  bytes 45584079 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113467  bytes 45584079 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136169  bytes 21293744 (21.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205071  bytes 199391286 (199.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 113485  bytes 45585317 (45.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113485  bytes 45585317 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136231  bytes 21308095 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205153  bytes 199406045 (199.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 113614  bytes 45603503 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113614  bytes 45603503 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136256  bytes 21313918 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205183  bytes 199410672 (199.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 113640  bytes 45606397 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113640  bytes 45606397 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136321  bytes 21328017 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205264  bytes 199425451 (199.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 113779  bytes 45625199 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113779  bytes 45625199 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136359  bytes 21336837 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205309  bytes 199433806 (199.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 113808  bytes 45627185 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113808  bytes 45627185 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136419  bytes 21350613 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205392  bytes 199448591 (199.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 113946  bytes 45645891 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113946  bytes 45645891 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136458  bytes 21359687 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205441  bytes 199457277 (199.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 113974  bytes 45647865 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113974  bytes 45647865 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136525  bytes 21374648 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205527  bytes 199472432 (199.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 114112  bytes 45667835 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114112  bytes 45667835 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136547  bytes 21379686 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205556  bytes 199476903 (199.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 114132  bytes 45669219 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114132  bytes 45669219 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136612  bytes 21393872 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205638  bytes 199491572 (199.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 114274  bytes 45688096 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114274  bytes 45688096 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136631  bytes 21398657 (21.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205661  bytes 199495614 (199.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 114296  bytes 45689602 (45.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114296  bytes 45689602 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136689  bytes 21412460 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205741  bytes 199510302 (199.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 114419  bytes 45707476 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114419  bytes 45707476 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136712  bytes 21418232 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205772  bytes 199515054 (199.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 114447  bytes 45710520 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114447  bytes 45710520 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136767  bytes 21431670 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205845  bytes 199529097 (199.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 114562  bytes 45727954 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114562  bytes 45727954 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136811  bytes 21441011 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205894  bytes 199537961 (199.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 114600  bytes 45730483 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114600  bytes 45730483 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136864  bytes 21454285 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 205963  bytes 199551732 (199.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 114710  bytes 45747467 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114710  bytes 45747467 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136899  bytes 21463027 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206013  bytes 199560514 (199.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 114745  bytes 45749913 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114745  bytes 45749913 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136964  bytes 21477989 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206099  bytes 199575740 (199.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 114874  bytes 45769385 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114874  bytes 45769385 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 136985  bytes 21482926 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206129  bytes 199580268 (199.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 114900  bytes 45771229 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114900  bytes 45771229 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137040  bytes 21496304 (21.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206205  bytes 199594489 (199.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 115028  bytes 45789342 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115028  bytes 45789342 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137059  bytes 21501065 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206230  bytes 199598647 (199.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 115048  bytes 45790720 (45.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115048  bytes 45790720 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137109  bytes 21514011 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206300  bytes 199612492 (199.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 115160  bytes 45807926 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115160  bytes 45807926 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137241  bytes 21529671 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206566  bytes 199952763 (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 115194  bytes 45811366 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115194  bytes 45811366 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137295  bytes 21542953 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206635  bytes 199966534 (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 115304  bytes 45828350 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115304  bytes 45828350 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137337  bytes 21552249 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206686  bytes 199975515 (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 115346  bytes 45831204 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115346  bytes 45831204 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137390  bytes 21565609 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206757  bytes 199989408 (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 115456  bytes 45848188 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115456  bytes 45848188 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137425  bytes 21574312 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206805  bytes 199998005 (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 115493  bytes 45850774 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115493  bytes 45850774 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137488  bytes 21588966 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206884  bytes 200012629 (200.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 115618  bytes 45869908 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115618  bytes 45869908 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137513  bytes 21594423 (21.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206918  bytes 200017562 (200.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 115648  bytes 45872046 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115648  bytes 45872046 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137565  bytes 21607644 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 206989  bytes 200031488 (200.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 115778  bytes 45890262 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115778  bytes 45890262 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137582  bytes 21612282 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207014  bytes 200035671 (200.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 115796  bytes 45891500 (45.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115796  bytes 45891500 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137636  bytes 21625758 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207087  bytes 200049744 (200.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 115913  bytes 45908944 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115913  bytes 45908944 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137659  bytes 21631501 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207121  bytes 200054700 (200.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 115945  bytes 45912304 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115945  bytes 45912304 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137716  bytes 21645145 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207192  bytes 200068593 (200.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 116061  bytes 45929636 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116061  bytes 45929636 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137757  bytes 21654299 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207244  bytes 200077724 (200.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 116103  bytes 45932491 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116103  bytes 45932491 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137813  bytes 21667724 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207313  bytes 200091518 (200.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 116212  bytes 45949447 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116212  bytes 45949447 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137856  bytes 21677368 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207370  bytes 200100834 (200.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 116258  bytes 45952616 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116258  bytes 45952616 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137925  bytes 21692573 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207454  bytes 200115871 (200.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 116392  bytes 45972164 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116392  bytes 45972164 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137945  bytes 21697439 (21.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207482  bytes 200120276 (200.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 116424  bytes 45974484 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116424  bytes 45974484 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 137998  bytes 21710689 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207551  bytes 200134063 (200.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 116533  bytes 45991432 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116533  bytes 45991432 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138020  bytes 21715913 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207582  bytes 200138660 (200.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 116576  bytes 45994304 (45.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116576  bytes 45994304 (45.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138073  bytes 21729263 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207654  bytes 200152609 (200.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 116700  bytes 46012076 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116700  bytes 46012076 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138102  bytes 21735600 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207688  bytes 200157758 (200.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 116731  bytes 46015270 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116731  bytes 46015270 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138162  bytes 21749440 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207766  bytes 200172253 (200.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 116859  bytes 46033466 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116859  bytes 46033466 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138210  bytes 21759205 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207819  bytes 200181833 (200.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 116904  bytes 46036418 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116904  bytes 46036418 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138270  bytes 21773141 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207900  bytes 200196556 (200.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 117026  bytes 46054232 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117026  bytes 46054232 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138294  bytes 21778499 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 207929  bytes 200201071 (200.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 117054  bytes 46056059 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117054  bytes 46056059 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138377  bytes 21797590 (21.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208036  bytes 200220532 (200.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 117199  bytes 46076687 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117199  bytes 46076687 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138398  bytes 21802551 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208060  bytes 200224648 (200.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 117221  bytes 46078185 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117221  bytes 46078185 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138455  bytes 21816060 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208136  bytes 200238980 (200.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 117339  bytes 46095763 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117339  bytes 46095763 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138477  bytes 21821284 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208165  bytes 200243429 (200.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 117372  bytes 46097929 (46.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117372  bytes 46097929 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138536  bytes 21834984 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208241  bytes 200257704 (200.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 117498  bytes 46115963 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117498  bytes 46115963 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138565  bytes 21841219 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208278  bytes 200262957 (200.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 117526  bytes 46118977 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117526  bytes 46118977 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138622  bytes 21854785 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208349  bytes 200276944 (200.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 117649  bytes 46136867 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117649  bytes 46136867 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138668  bytes 21864489 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208409  bytes 200286623 (200.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 117698  bytes 46140085 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117698  bytes 46140085 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138733  bytes 21878815 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208487  bytes 200301107 (200.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 117824  bytes 46157933 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117824  bytes 46157933 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138751  bytes 21883573 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208516  bytes 200305544 (200.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 117853  bytes 46159937 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117853  bytes 46159937 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138816  bytes 21898356 (21.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208597  bytes 200320273 (200.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 117991  bytes 46179819 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117991  bytes 46179819 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138840  bytes 21903571 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208630  bytes 200325100 (200.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 118021  bytes 46181903 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118021  bytes 46181903 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138914  bytes 21921010 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208722  bytes 200343412 (200.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 118142  bytes 46199601 (46.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118142  bytes 46199601 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138934  bytes 21926123 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208753  bytes 200348112 (200.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 118173  bytes 46201771 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118173  bytes 46201771 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 138994  bytes 21940072 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208826  bytes 200362189 (200.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 118294  bytes 46219495 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118294  bytes 46219495 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139019  bytes 21945903 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208864  bytes 200367511 (200.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 118329  bytes 46223035 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118329  bytes 46223035 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139076  bytes 21959521 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208938  bytes 200381627 (200.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 118448  bytes 46240535 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118448  bytes 46240535 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139123  bytes 21969229 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 208993  bytes 200391149 (200.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 118500  bytes 46244019 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118500  bytes 46244019 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139185  bytes 21983386 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209072  bytes 200405739 (200.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 118629  bytes 46262059 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118629  bytes 46262059 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139204  bytes 21988312 (21.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209095  bytes 200409770 (200.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 118649  bytes 46263417 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118649  bytes 46263417 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139269  bytes 22003005 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209177  bytes 200424612 (200.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 118777  bytes 46282809 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118777  bytes 46282809 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139290  bytes 22008107 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209203  bytes 200428885 (200.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 118808  bytes 46284921 (46.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118808  bytes 46284921 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139353  bytes 22022059 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209285  bytes 200443860 (200.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 118937  bytes 46303199 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118937  bytes 46303199 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139374  bytes 22027120 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209311  bytes 200448180 (200.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 118962  bytes 46304865 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118962  bytes 46304865 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139451  bytes 22045079 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209408  bytes 200466795 (200.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 119096  bytes 46323591 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119096  bytes 46323591 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139478  bytes 22051018 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209440  bytes 200471690 (200.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 119129  bytes 46326905 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119129  bytes 46326905 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139540  bytes 22065046 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209519  bytes 200486287 (200.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 119252  bytes 46344803 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119252  bytes 46344803 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139584  bytes 22074499 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209574  bytes 200495499 (200.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 119295  bytes 46347655 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119295  bytes 46347655 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139658  bytes 22089474 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209662  bytes 200510691 (200.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 119437  bytes 46366571 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119437  bytes 46366571 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139673  bytes 22094008 (22.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209686  bytes 200514800 (200.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 119459  bytes 46368049 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119459  bytes 46368049 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139737  bytes 22108818 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209767  bytes 200529525 (200.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 119597  bytes 46388037 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119597  bytes 46388037 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139760  bytes 22113935 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209799  bytes 200534246 (200.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 119628  bytes 46390161 (46.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119628  bytes 46390161 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139819  bytes 22127620 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209873  bytes 200548506 (200.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 119745  bytes 46407553 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119745  bytes 46407553 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139843  bytes 22132782 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209906  bytes 200553357 (200.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 119773  bytes 46409525 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119773  bytes 46409525 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139903  bytes 22146804 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 209981  bytes 200567520 (200.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 119907  bytes 46427921 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119907  bytes 46427921 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 139928  bytes 22152697 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210018  bytes 200572679 (200.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 119948  bytes 46431849 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119948  bytes 46431849 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140008  bytes 22170568 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210113  bytes 200591190 (200.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 120076  bytes 46450039 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120076  bytes 46450039 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140050  bytes 22179785 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210164  bytes 200600605 (200.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 120126  bytes 46453401 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120126  bytes 46453401 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140115  bytes 22194274 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210244  bytes 200615257 (200.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 120251  bytes 46471303 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120251  bytes 46471303 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140135  bytes 22199172 (22.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210272  bytes 200619614 (200.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 120283  bytes 46473471 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120283  bytes 46473471 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140199  bytes 22214194 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210357  bytes 200634710 (200.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 120418  bytes 46493323 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120418  bytes 46493323 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140223  bytes 22219384 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210387  bytes 200639350 (200.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 120448  bytes 46495387 (46.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120448  bytes 46495387 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140278  bytes 22232745 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210462  bytes 200653690 (200.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 120556  bytes 46512307 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120556  bytes 46512307 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140298  bytes 22237592 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210487  bytes 200657926 (200.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 120574  bytes 46513545 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120574  bytes 46513545 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140360  bytes 22251742 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210566  bytes 200672492 (200.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 120706  bytes 46531953 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120706  bytes 46531953 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140382  bytes 22257472 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210596  bytes 200677165 (200.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 120739  bytes 46535287 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120739  bytes 46535287 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140437  bytes 22270982 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210673  bytes 200691587 (200.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 120862  bytes 46553185 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120862  bytes 46553185 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140485  bytes 22280650 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210724  bytes 200700990 (200.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 120916  bytes 46556683 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120916  bytes 46556683 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140566  bytes 22298926 (22.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210828  bytes 200720089 (200.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 121067  bytes 46576311 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121067  bytes 46576311 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140585  bytes 22303968 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210852  bytes 200724225 (200.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 121097  bytes 46578269 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121097  bytes 46578269 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140648  bytes 22318919 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210938  bytes 200739401 (200.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 121235  bytes 46598383 (46.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121235  bytes 46598383 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140672  bytes 22324269 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 210966  bytes 200743966 (200.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 121261  bytes 46600131 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121261  bytes 46600131 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140730  bytes 22337823 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211044  bytes 200758423 (200.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 121380  bytes 46617753 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121380  bytes 46617753 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140750  bytes 22342691 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211069  bytes 200762688 (200.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 121402  bytes 46619259 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121402  bytes 46619259 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140805  bytes 22356337 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211145  bytes 200777025 (200.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 121526  bytes 46637201 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121526  bytes 46637201 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140830  bytes 22362315 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211177  bytes 200781839 (200.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 121562  bytes 46640715 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121562  bytes 46640715 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140889  bytes 22375933 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211255  bytes 200796400 (200.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 121682  bytes 46658381 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121682  bytes 46658381 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140933  bytes 22385334 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211304  bytes 200805265 (200.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 121729  bytes 46661461 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121729  bytes 46661461 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 140991  bytes 22399107 (22.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211381  bytes 200819642 (200.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 121860  bytes 46679834 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121860  bytes 46679834 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141031  bytes 22408411 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211429  bytes 200828253 (200.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 121903  bytes 46682712 (46.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121903  bytes 46682712 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141097  bytes 22423388 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211515  bytes 200843407 (200.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 122042  bytes 46702800 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122042  bytes 46702800 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141120  bytes 22428478 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211543  bytes 200847900 (200.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 122066  bytes 46704398 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122066  bytes 46704398 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141179  bytes 22442228 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211617  bytes 200861989 (200.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 122191  bytes 46722408 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122191  bytes 46722408 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141198  bytes 22446977 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211643  bytes 200866289 (200.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 122212  bytes 46723834 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122212  bytes 46723834 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141258  bytes 22460753 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211720  bytes 200880770 (200.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 122332  bytes 46741488 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122332  bytes 46741488 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141283  bytes 22466731 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211753  bytes 200885658 (200.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 122368  bytes 46745002 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122368  bytes 46745002 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141338  bytes 22480205 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211824  bytes 200899713 (200.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 122480  bytes 46762142 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122480  bytes 46762142 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141382  bytes 22489666 (22.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211880  bytes 200909056 (200.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 122530  bytes 46765486 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122530  bytes 46765486 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141436  bytes 22502887 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 211953  bytes 200923056 (200.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 122660  bytes 46783691 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122660  bytes 46783691 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141481  bytes 22512758 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212006  bytes 200932203 (200.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 122706  bytes 46786704 (46.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122706  bytes 46786704 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141546  bytes 22527630 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212097  bytes 200947637 (200.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 122861  bytes 46807878 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122861  bytes 46807878 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141568  bytes 22532700 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212126  bytes 200952207 (200.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 122886  bytes 46809536 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122886  bytes 46809536 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141625  bytes 22546416 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212201  bytes 200966507 (200.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 123017  bytes 46827882 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123017  bytes 46827882 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141644  bytes 22551189 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212228  bytes 200970912 (200.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 123038  bytes 46829308 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123038  bytes 46829308 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141704  bytes 22564965 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212302  bytes 200985098 (200.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 123154  bytes 46846640 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123154  bytes 46846640 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141835  bytes 22580578 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212573  bytes 201326994 (201.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 123205  bytes 46851244 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123205  bytes 46851244 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141894  bytes 22594270 (22.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212646  bytes 201341074 (201.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 123325  bytes 46868868 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123325  bytes 46868868 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 141943  bytes 22603970 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212703  bytes 201350917 (201.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 123374  bytes 46872154 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123374  bytes 46872154 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142000  bytes 22617484 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212778  bytes 201365072 (201.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 123503  bytes 46890318 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123503  bytes 46890318 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142042  bytes 22626944 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212831  bytes 201374012 (201.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 123541  bytes 46892832 (46.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123541  bytes 46892832 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142105  bytes 22641869 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212907  bytes 201388496 (201.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 123680  bytes 46912860 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123680  bytes 46912860 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142128  bytes 22647247 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 212942  bytes 201393466 (201.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 123721  bytes 46915750 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123721  bytes 46915750 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142188  bytes 22661238 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213017  bytes 201407838 (201.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 123845  bytes 46933624 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123845  bytes 46933624 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142205  bytes 22665852 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213046  bytes 201412353 (201.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 123871  bytes 46935448 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123871  bytes 46935448 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142262  bytes 22679425 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213118  bytes 201426397 (201.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 123982  bytes 46952544 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123982  bytes 46952544 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142288  bytes 22685639 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213157  bytes 201431733 (201.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 124024  bytes 46956524 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124024  bytes 46956524 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142344  bytes 22699145 (22.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213227  bytes 201445542 (201.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 124146  bytes 46974208 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124146  bytes 46974208 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142388  bytes 22708484 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213279  bytes 201454631 (201.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 124195  bytes 46977484 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124195  bytes 46977484 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142443  bytes 22722042 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213350  bytes 201468582 (201.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 124315  bytes 46995063 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124315  bytes 46995063 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142483  bytes 22731260 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213404  bytes 201477638 (201.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 124359  bytes 46998079 (46.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124359  bytes 46998079 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142546  bytes 22746384 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213487  bytes 201492596 (201.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 124501  bytes 47018281 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124501  bytes 47018281 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142567  bytes 22751368 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213518  bytes 201497257 (201.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 124533  bytes 47020485 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124533  bytes 47020485 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142629  bytes 22765482 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213592  bytes 201511533 (201.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 124656  bytes 47038237 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124656  bytes 47038237 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142648  bytes 22770224 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213620  bytes 201516006 (201.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 124683  bytes 47040121 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124683  bytes 47040121 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142706  bytes 22783854 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213690  bytes 201529927 (201.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 124792  bytes 47057089 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124792  bytes 47057089 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142734  bytes 22790177 (22.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213729  bytes 201535257 (201.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 124833  bytes 47061017 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124833  bytes 47061017 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142790  bytes 22803638 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213802  bytes 201549307 (201.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 124948  bytes 47078313 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124948  bytes 47078313 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142835  bytes 22812944 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213852  bytes 201558339 (201.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 124994  bytes 47081417 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124994  bytes 47081417 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142893  bytes 22826614 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213927  bytes 201572626 (201.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 125107  bytes 47098609 (47.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125107  bytes 47098609 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142912  bytes 22831424 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 213956  bytes 201577073 (201.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 125147  bytes 47101230 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125147  bytes 47101230 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 142998  bytes 22850761 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214064  bytes 201596558 (201.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 125294  bytes 47121902 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125294  bytes 47121902 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143024  bytes 22856117 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214098  bytes 201601508 (201.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 125325  bytes 47124098 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125325  bytes 47124098 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143085  bytes 22869907 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214174  bytes 201615877 (201.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 125448  bytes 47141842 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125448  bytes 47141842 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143107  bytes 22874998 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214204  bytes 201620458 (201.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 125481  bytes 47144094 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125481  bytes 47144094 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143164  bytes 22888464 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214277  bytes 201634570 (201.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 125590  bytes 47161034 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125590  bytes 47161034 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143191  bytes 22894661 (22.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214313  bytes 201639724 (201.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 125626  bytes 47164634 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125626  bytes 47164634 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143249  bytes 22908450 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214388  bytes 201653939 (201.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 125748  bytes 47182378 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125748  bytes 47182378 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143292  bytes 22917708 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214435  bytes 201662870 (201.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 125789  bytes 47185076 (47.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125789  bytes 47185076 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143350  bytes 22931229 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214511  bytes 201677195 (201.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 125909  bytes 47202774 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125909  bytes 47202774 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143369  bytes 22935990 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214540  bytes 201681658 (201.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 125944  bytes 47205125 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 125944  bytes 47205125 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143456  bytes 22955669 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214646  bytes 201701034 (201.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 126092  bytes 47225749 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126092  bytes 47225749 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143476  bytes 22960533 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214674  bytes 201705422 (201.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 126124  bytes 47227941 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126124  bytes 47227941 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143541  bytes 22974640 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214755  bytes 201720170 (201.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 126251  bytes 47245947 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126251  bytes 47245947 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143560  bytes 22979566 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214780  bytes 201724418 (201.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 126282  bytes 47248071 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126282  bytes 47248071 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143621  bytes 22993443 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214859  bytes 201739065 (201.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 126403  bytes 47265707 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126403  bytes 47265707 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143646  bytes 22999286 (22.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214889  bytes 201743793 (201.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 126429  bytes 47268601 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126429  bytes 47268601 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143705  bytes 23013007 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 214965  bytes 201758098 (201.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 126553  bytes 47286579 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126553  bytes 47286579 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143746  bytes 23022122 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215012  bytes 201766806 (201.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 126599  bytes 47289607 (47.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126599  bytes 47289607 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143805  bytes 23035840 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215088  bytes 201781104 (201.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 126719  bytes 47307317 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126719  bytes 47307317 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143825  bytes 23040747 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215116  bytes 201785519 (201.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 126754  bytes 47309668 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126754  bytes 47309668 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143914  bytes 23060451 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215226  bytes 201805228 (201.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 126899  bytes 47330176 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126899  bytes 47330176 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143939  bytes 23065975 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215253  bytes 201809582 (201.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 126930  bytes 47332220 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126930  bytes 47332220 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 143999  bytes 23079768 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215333  bytes 201824194 (201.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 127055  bytes 47350254 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127055  bytes 47350254 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144020  bytes 23084872 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215361  bytes 201828738 (201.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 127084  bytes 47352180 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127084  bytes 47352180 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144076  bytes 23098374 (23.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215437  bytes 201843096 (201.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 127208  bytes 47370098 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127208  bytes 47370098 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144100  bytes 23104083 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215470  bytes 201847985 (201.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 127242  bytes 47373552 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127242  bytes 47373552 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144162  bytes 23118270 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215550  bytes 201862588 (201.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 127363  bytes 47391342 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127363  bytes 47391342 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144206  bytes 23127556 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215598  bytes 201871349 (201.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 127408  bytes 47394282 (47.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127408  bytes 47394282 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144274  bytes 23141852 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215680  bytes 201886076 (201.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 127535  bytes 47412416 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127535  bytes 47412416 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144294  bytes 23146744 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215706  bytes 201890318 (201.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 127562  bytes 47414160 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127562  bytes 47414160 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144384  bytes 23166166 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215817  bytes 201910028 (201.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 127724  bytes 47435836 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127724  bytes 47435836 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144409  bytes 23171831 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215846  bytes 201914566 (201.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 127758  bytes 47438042 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127758  bytes 47438042 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144472  bytes 23185843 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215925  bytes 201929154 (201.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 127882  bytes 47456054 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127882  bytes 47456054 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144493  bytes 23190916 (23.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 215952  bytes 201933616 (201.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 127909  bytes 47457852 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127909  bytes 47457852 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144552  bytes 23204628 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216028  bytes 201947995 (201.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 128030  bytes 47475682 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128030  bytes 47475682 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144577  bytes 23210462 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216059  bytes 201952797 (201.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 128056  bytes 47478576 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128056  bytes 47478576 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144640  bytes 23224677 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216140  bytes 201967457 (201.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 128187  bytes 47496906 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128187  bytes 47496906 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144686  bytes 23234364 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216192  bytes 201976674 (201.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 128234  bytes 47499966 (47.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128234  bytes 47499966 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144743  bytes 23247865 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216268  bytes 201990946 (201.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 128352  bytes 47517556 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128352  bytes 47517556 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144765  bytes 23253007 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216298  bytes 201995548 (201.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 128375  bytes 47519070 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128375  bytes 47519070 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144824  bytes 23267396 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216383  bytes 202010622 (202.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 128522  bytes 47539723 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128522  bytes 47539723 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144868  bytes 23277220 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216436  bytes 202019627 (202.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 128566  bytes 47542695 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128566  bytes 47542695 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144927  bytes 23290983 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216515  bytes 202034199 (202.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 128685  bytes 47560385 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128685  bytes 47560385 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 144949  bytes 23296046 (23.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216543  bytes 202038750 (202.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 128713  bytes 47562261 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128713  bytes 47562261 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145012  bytes 23309955 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216620  bytes 202053105 (202.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 128838  bytes 47580271 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128838  bytes 47580271 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145038  bytes 23315883 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216654  bytes 202058111 (202.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 128873  bytes 47583785 (47.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128873  bytes 47583785 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145097  bytes 23329725 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216727  bytes 202072239 (202.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 128989  bytes 47601303 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128989  bytes 47601303 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145144  bytes 23339474 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216784  bytes 202081826 (202.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 129038  bytes 47604489 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129038  bytes 47604489 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145200  bytes 23352880 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216851  bytes 202095438 (202.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 129150  bytes 47621577 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129150  bytes 47621577 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145220  bytes 23357845 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216882  bytes 202100101 (202.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 129181  bytes 47623697 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129181  bytes 47623697 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145285  bytes 23372616 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 216964  bytes 202114966 (202.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 129317  bytes 47643644 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129317  bytes 47643644 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145330  bytes 23382490 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217016  bytes 202123859 (202.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 129360  bytes 47646464 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129360  bytes 47646464 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145389  bytes 23396209 (23.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217094  bytes 202138307 (202.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 129480  bytes 47664238 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129480  bytes 47664238 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145411  bytes 23401278 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217123  bytes 202143066 (202.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 129506  bytes 47665976 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129506  bytes 47665976 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 145471  bytes 23415132 (23.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217196  bytes 202157190 (202.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 129623  bytes 47683416 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129623  bytes 47683416 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146290  bytes 24519196 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217662  bytes 202200808 (202.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 129700  bytes 47690568 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129700  bytes 47690568 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146309  bytes 24523969 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217685  bytes 202204859 (202.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 129720  bytes 47691934 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129720  bytes 47691934 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146353  bytes 24533282 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217739  bytes 202213951 (202.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 129767  bytes 47695118 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129767  bytes 47695118 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146370  bytes 24538006 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217762  bytes 202218013 (202.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 129785  bytes 47696356 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129785  bytes 47696356 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146389  bytes 24542818 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217792  bytes 202222595 (202.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 129809  bytes 47698060 (47.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129809  bytes 47698060 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146416  bytes 24548863 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217829  bytes 202227788 (202.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 129862  bytes 47702811 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129862  bytes 47702811 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146457  bytes 24558027 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217886  bytes 202237344 (202.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 129893  bytes 47704957 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129893  bytes 47704957 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146493  bytes 24566761 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217935  bytes 202246504 (202.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 129955  bytes 47713710 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129955  bytes 47713710 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146512  bytes 24571565 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 217965  bytes 202251070 (202.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 129979  bytes 47715414 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129979  bytes 47715414 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146546  bytes 24580301 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218011  bytes 202259966 (202.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 130047  bytes 47724539 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130047  bytes 47724539 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146571  bytes 24586144 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218047  bytes 202265062 (202.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 130079  bytes 47727899 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130079  bytes 47727899 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146606  bytes 24594893 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218094  bytes 202274009 (202.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 130143  bytes 47736792 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130143  bytes 47736792 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146627  bytes 24599853 (24.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218126  bytes 202278857 (202.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 130174  bytes 47738899 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130174  bytes 47738899 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146684  bytes 24612974 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218193  bytes 202292047 (202.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 130246  bytes 47748372 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130246  bytes 47748372 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146702  bytes 24617695 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218220  bytes 202296394 (202.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 130272  bytes 47750204 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130272  bytes 47750204 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146767  bytes 24632549 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218302  bytes 202311266 (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 130412  bytes 47770241 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130412  bytes 47770241 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146808  bytes 24641625 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218354  bytes 202320112 (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 130449  bytes 47772791 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130449  bytes 47772791 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146862  bytes 24655139 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218423  bytes 202333980 (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 130560  bytes 47789969 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130560  bytes 47789969 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146881  bytes 24659833 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218452  bytes 202338404 (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 130584  bytes 47791673 (47.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130584  bytes 47791673 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 146937  bytes 24673257 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218523  bytes 202352314 (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 130691  bytes 47808561 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130691  bytes 47808561 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147071  bytes 24689178 (24.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218793  bytes 202694282 (202.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 130729  bytes 47812339 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130729  bytes 47812339 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147125  bytes 24702587 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218864  bytes 202708224 (202.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 130836  bytes 47829239 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130836  bytes 47829239 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147144  bytes 24707305 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218891  bytes 202712532 (202.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 130860  bytes 47830943 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130860  bytes 47830943 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147221  bytes 24725176 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 218988  bytes 202731256 (202.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 130989  bytes 47849165 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130989  bytes 47849165 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147241  bytes 24730020 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219015  bytes 202735578 (202.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 131017  bytes 47851137 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131017  bytes 47851137 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147304  bytes 24744743 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219098  bytes 202750549 (202.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 131147  bytes 47870637 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131147  bytes 47870637 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147326  bytes 24749811 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219129  bytes 202755171 (202.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 131183  bytes 47873017 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131183  bytes 47873017 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147400  bytes 24767428 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219223  bytes 202773523 (202.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 131301  bytes 47890643 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131301  bytes 47890643 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147419  bytes 24772177 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219251  bytes 202777912 (202.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 131327  bytes 47892475 (47.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131327  bytes 47892475 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147477  bytes 24785763 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219324  bytes 202791947 (202.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 131435  bytes 47909391 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131435  bytes 47909391 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147500  bytes 24791466 (24.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219358  bytes 202796884 (202.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 131467  bytes 47912751 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131467  bytes 47912751 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147557  bytes 24804992 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219432  bytes 202810993 (202.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 131575  bytes 47929631 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131575  bytes 47929631 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147577  bytes 24809879 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219456  bytes 202815144 (202.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 131603  bytes 47931641 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131603  bytes 47931641 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147657  bytes 24827909 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219558  bytes 202834300 (202.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 131734  bytes 47949968 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131734  bytes 47949968 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147674  bytes 24832688 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219581  bytes 202838399 (202.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 131754  bytes 47951334 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131754  bytes 47951334 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147741  bytes 24847822 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219669  bytes 202853686 (202.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 131887  bytes 47971110 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131887  bytes 47971110 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147762  bytes 24852805 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219700  bytes 202858338 (202.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 131922  bytes 47973461 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131922  bytes 47973461 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147845  bytes 24870858 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219793  bytes 202876691 (202.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 132045  bytes 47991389 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132045  bytes 47991389 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147865  bytes 24875671 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219820  bytes 202881005 (202.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 132071  bytes 47993233 (47.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132071  bytes 47993233 (47.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147917  bytes 24888960 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219893  bytes 202895028 (202.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 132184  bytes 48010409 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132184  bytes 48010409 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147944  bytes 24894942 (24.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 219924  bytes 202899761 (202.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 132212  bytes 48013431 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132212  bytes 48013431 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 147999  bytes 24908360 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220000  bytes 202914070 (202.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 132326  bytes 48030813 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132326  bytes 48030813 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148019  bytes 24913228 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220026  bytes 202918333 (202.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 132348  bytes 48032319 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132348  bytes 48032319 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148065  bytes 24924524 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220080  bytes 202927596 (202.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 132392  bytes 48035339 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132392  bytes 48035339 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148178  bytes 24939390 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220345  bytes 203289174 (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 132416  bytes 48036995 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132416  bytes 48036995 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148445  bytes 24965377 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 220899  bytes 204060913 (204.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 132462  bytes 48041355 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132462  bytes 48041355 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 148731  bytes 24991575 (24.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 221660  bytes 205160550 (205.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 132503  bytes 48044111 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132503  bytes 48044111 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149033  bytes 25021700 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 222628  bytes 206551330 (206.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 132542  bytes 48046799 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132542  bytes 48046799 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149509  bytes 25059491 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223869  bytes 208343113 (208.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 132616  bytes 48056318 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132616  bytes 48056318 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149571  bytes 25076507 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 223952  bytes 208357867 (208.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 132733  bytes 48073820 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132733  bytes 48073820 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149660  bytes 25090827 (25.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224137  bytes 208578107 (208.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 132765  bytes 48077132 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132765  bytes 48077132 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149817  bytes 25113952 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224473  bytes 208966557 (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 132894  bytes 48095424 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132894  bytes 48095424 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 149954  bytes 25129951 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224785  bytes 209391356 (209.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 132918  bytes 48097080 (48.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132918  bytes 48097080 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150011  bytes 25143577 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224862  bytes 209405897 (209.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 133045  bytes 48115213 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133045  bytes 48115213 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150053  bytes 25152790 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224909  bytes 209414493 (209.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 133076  bytes 48117339 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133076  bytes 48117339 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150114  bytes 25167243 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 224994  bytes 209429527 (209.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 133217  bytes 48137709 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133217  bytes 48137709 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150137  bytes 25172394 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225022  bytes 209433935 (209.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 133244  bytes 48139477 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133244  bytes 48139477 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150211  bytes 25189938 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225124  bytes 209452759 (209.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 133377  bytes 48158017 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133377  bytes 48158017 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150230  bytes 25194747 (25.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225149  bytes 209456982 (209.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 133397  bytes 48159395 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133397  bytes 48159395 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150291  bytes 25208491 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225228  bytes 209471457 (209.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 133512  bytes 48176891 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133512  bytes 48176891 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150315  bytes 25214421 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225259  bytes 209476227 (209.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 133546  bytes 48180345 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133546  bytes 48180345 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150371  bytes 25227858 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225335  bytes 209490501 (209.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 133662  bytes 48197819 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133662  bytes 48197819 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150392  bytes 25232680 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225361  bytes 209494720 (209.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 133680  bytes 48199057 (48.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133680  bytes 48199057 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150449  bytes 25246245 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225437  bytes 209509018 (209.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 133793  bytes 48216423 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133793  bytes 48216423 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150492  bytes 25255465 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225485  bytes 209517782 (209.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 133831  bytes 48218951 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133831  bytes 48218951 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150557  bytes 25270486 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225569  bytes 209532859 (209.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 133966  bytes 48238865 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133966  bytes 48238865 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150577  bytes 25275383 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225596  bytes 209537206 (209.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 133986  bytes 48240231 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133986  bytes 48240231 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150633  bytes 25288958 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225674  bytes 209551654 (209.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 134114  bytes 48258432 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134114  bytes 48258432 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150670  bytes 25297897 (25.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225720  bytes 209560191 (209.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 134144  bytes 48260534 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134144  bytes 48260534 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150729  bytes 25311507 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225797  bytes 209574540 (209.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 134263  bytes 48278140 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134263  bytes 48278140 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150754  bytes 25317369 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225829  bytes 209579333 (209.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 134291  bytes 48281174 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134291  bytes 48281174 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150813  bytes 25331038 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225907  bytes 209593731 (209.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 134413  bytes 48298996 (48.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134413  bytes 48298996 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150833  bytes 25335808 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 225934  bytes 209598024 (209.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 134431  bytes 48300234 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134431  bytes 48300234 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150890  bytes 25349446 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226005  bytes 209611961 (209.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 134539  bytes 48317150 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134539  bytes 48317150 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150936  bytes 25358884 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226062  bytes 209621670 (209.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 134581  bytes 48320004 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134581  bytes 48320004 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 150999  bytes 25373691 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226140  bytes 209636352 (209.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 134707  bytes 48339258 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134707  bytes 48339258 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151024  bytes 25378884 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226173  bytes 209641095 (209.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 134735  bytes 48341280 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134735  bytes 48341280 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 25392180 (25.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226249  bytes 209655384 (209.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 134856  bytes 48359081 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134856  bytes 48359081 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151118  bytes 25401138 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226296  bytes 209663880 (209.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 134889  bytes 48361351 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134889  bytes 48361351 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151175  bytes 25414759 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226371  bytes 209678072 (209.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 135008  bytes 48379029 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135008  bytes 48379029 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151202  bytes 25420753 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226406  bytes 209683102 (209.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 135036  bytes 48382063 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135036  bytes 48382063 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151260  bytes 25434461 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226480  bytes 209697265 (209.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 135153  bytes 48399493 (48.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135153  bytes 48399493 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151283  bytes 25439589 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226514  bytes 209702153 (209.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 135179  bytes 48401325 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135179  bytes 48401325 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151333  bytes 25452702 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226580  bytes 209715695 (209.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 135291  bytes 48418449 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135291  bytes 48418449 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151375  bytes 25461947 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226633  bytes 209724850 (209.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 135335  bytes 48421431 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135335  bytes 48421431 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151439  bytes 25476610 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226710  bytes 209739370 (209.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 135461  bytes 48440629 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135461  bytes 48440629 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151462  bytes 25481778 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226742  bytes 209744133 (209.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 135485  bytes 48442333 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135485  bytes 48442333 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151522  bytes 25495583 (25.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 226815  bytes 209758400 (209.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 135626  bytes 48461194 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135626  bytes 48461194 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151664  bytes 25514170 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227062  bytes 210046423 (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 135663  bytes 48463720 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135663  bytes 48463720 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151829  bytes 25542088 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227383  bytes 210419572 (210.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 135793  bytes 48481886 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135793  bytes 48481886 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 151952  bytes 25558214 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227652  bytes 210759117 (210.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 135833  bytes 48485830 (48.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135833  bytes 48485830 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152140  bytes 25583741 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227935  bytes 211076283 (211.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 135961  bytes 48503892 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135961  bytes 48503892 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152158  bytes 25588407 (25.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 227963  bytes 211080666 (211.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 135985  bytes 48505596 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135985  bytes 48505596 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152329  bytes 25612114 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228261  bytes 211422780 (211.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 136116  bytes 48523766 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136116  bytes 48523766 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152483  bytes 25629108 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228524  bytes 211762577 (211.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 136155  bytes 48526431 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136155  bytes 48526431 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152568  bytes 25648101 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228624  bytes 211781523 (211.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 136302  bytes 48546957 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136302  bytes 48546957 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152590  bytes 25653083 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228653  bytes 211785979 (211.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 136326  bytes 48548661 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136326  bytes 48548661 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152649  bytes 25667049 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228729  bytes 211800945 (211.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 136448  bytes 48566344 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136448  bytes 48566344 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152689  bytes 25676060 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228783  bytes 211809943 (211.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 136489  bytes 48569188 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136489  bytes 48569188 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152745  bytes 25689620 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228857  bytes 211824115 (211.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 136609  bytes 48586788 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136609  bytes 48586788 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152770  bytes 25695516 (25.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228893  bytes 211829214 (211.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 136641  bytes 48590148 (48.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136641  bytes 48590148 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152825  bytes 25708886 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228965  bytes 211843152 (211.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 136749  bytes 48607064 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136749  bytes 48607064 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152845  bytes 25713742 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 228994  bytes 211847618 (211.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 136773  bytes 48608768 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136773  bytes 48608768 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152901  bytes 25727322 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229071  bytes 211861959 (211.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 136900  bytes 48626732 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136900  bytes 48626732 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 152920  bytes 25732040 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229097  bytes 211866194 (211.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 136924  bytes 48628436 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136924  bytes 48628436 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153012  bytes 25751611 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229206  bytes 211885990 (211.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 137085  bytes 48649762 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137085  bytes 48649762 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153033  bytes 25756818 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229235  bytes 211890467 (211.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 137109  bytes 48651466 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137109  bytes 48651466 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153090  bytes 25770494 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229312  bytes 211904830 (211.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 137229  bytes 48669066 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137229  bytes 48669066 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153108  bytes 25775160 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229340  bytes 211909212 (211.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 137265  bytes 48671449 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137265  bytes 48671449 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153179  bytes 25792509 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229432  bytes 211927474 (211.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 137387  bytes 48689235 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137387  bytes 48689235 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153201  bytes 25798114 (25.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229468  bytes 211932527 (211.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 137427  bytes 48693155 (48.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137427  bytes 48693155 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153255  bytes 25811510 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229540  bytes 211946506 (211.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 137543  bytes 48710451 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137543  bytes 48710451 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153276  bytes 25816441 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229569  bytes 211951004 (211.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 137571  bytes 48712445 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137571  bytes 48712445 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153333  bytes 25830033 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229641  bytes 211964953 (211.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 137698  bytes 48730359 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137698  bytes 48730359 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153351  bytes 25834754 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229663  bytes 211968931 (211.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 137718  bytes 48731725 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137718  bytes 48731725 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153443  bytes 25854527 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229782  bytes 211989489 (211.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 137891  bytes 48753998 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137891  bytes 48753998 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153464  bytes 25859590 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229807  bytes 211993739 (211.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 137913  bytes 48755526 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137913  bytes 48755526 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153521  bytes 25873124 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229885  bytes 212008094 (212.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 138040  bytes 48773584 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138040  bytes 48773584 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153540  bytes 25877873 (25.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 229913  bytes 212012483 (212.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 138075  bytes 48775922 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138075  bytes 48775922 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153784  bytes 25908514 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230307  bytes 212463125 (212.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 138214  bytes 48794726 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138214  bytes 48794726 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 153905  bytes 25924633 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230561  bytes 212784836 (212.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 138254  bytes 48798670 (48.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138254  bytes 48798670 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154058  bytes 25947348 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 230853  bytes 213108087 (213.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 138378  bytes 48816488 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138378  bytes 48816488 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154223  bytes 25963939 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231191  bytes 213570799 (213.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 138402  bytes 48818144 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138402  bytes 48818144 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154393  bytes 25987686 (25.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231503  bytes 213920047 (213.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 138534  bytes 48836592 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138534  bytes 48836592 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154579  bytes 26006300 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 231754  bytes 214251926 (214.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 138560  bytes 48838388 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138560  bytes 48838388 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154787  bytes 26036929 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232090  bytes 214598311 (214.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 138723  bytes 48859879 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138723  bytes 48859879 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 154930  bytes 26052134 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232340  bytes 214929044 (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 138753  bytes 48861989 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138753  bytes 48861989 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155185  bytes 26084485 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232886  bytes 215621504 (215.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 138891  bytes 48880819 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138891  bytes 48880819 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155202  bytes 26089147 (26.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 232908  bytes 215625507 (215.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 138916  bytes 48882460 (48.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138916  bytes 48882460 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155273  bytes 26106663 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233005  bytes 215644080 (215.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 139052  bytes 48901218 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139052  bytes 48901218 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155372  bytes 26121561 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233207  bytes 215889247 (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 139086  bytes 48904670 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139086  bytes 48904670 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155584  bytes 26147614 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233536  bytes 216263800 (216.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 139217  bytes 48923066 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139217  bytes 48923066 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155603  bytes 26152411 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233560  bytes 216267941 (216.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 139237  bytes 48924432 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139237  bytes 48924432 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155763  bytes 26176385 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 233839  bytes 216566881 (216.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 139375  bytes 48943132 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139375  bytes 48943132 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 155911  bytes 26193871 (26.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234136  bytes 216966028 (216.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 139399  bytes 48944788 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139399  bytes 48944788 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156097  bytes 26219196 (26.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234499  bytes 217381848 (217.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 139555  bytes 48965845 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139555  bytes 48965845 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156330  bytes 26242567 (26.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 234841  bytes 217819483 (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 139590  bytes 48968249 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139590  bytes 48968249 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156579  bytes 26271318 (26.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235206  bytes 218254660 (218.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 139723  bytes 48986785 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139723  bytes 48986785 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 156813  bytes 26291513 (26.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235582  bytes 218772109 (218.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 139749  bytes 48988569 (48.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139749  bytes 48988569 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157013  bytes 26319859 (26.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 235953  bytes 219189200 (219.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 139905  bytes 49008449 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139905  bytes 49008449 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157267  bytes 26342135 (26.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 236247  bytes 219578980 (219.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 139937  bytes 49011761 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139937  bytes 49011761 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157640  bytes 26382991 (26.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 236850  bytes 220356664 (220.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 140067  bytes 49030187 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140067  bytes 49030187 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157893  bytes 26405607 (26.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237161  bytes 220776605 (220.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 140093  bytes 49031983 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140093  bytes 49031983 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 157949  bytes 26418968 (26.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237237  bytes 220790799 (220.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 140224  bytes 49050201 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140224  bytes 49050201 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158069  bytes 26437045 (26.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237463  bytes 221074913 (221.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 140248  bytes 49051857 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140248  bytes 49051857 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158315  bytes 26466415 (26.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 237826  bytes 221500605 (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 140396  bytes 49072579 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140396  bytes 49072579 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158550  bytes 26493743 (26.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238170  bytes 221925422 (221.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 140445  bytes 49075866 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140445  bytes 49075866 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158742  bytes 26519589 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238526  bytes 222345454 (222.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 140581  bytes 49094544 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140581  bytes 49094544 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158927  bytes 26540863 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238823  bytes 222737484 (222.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 140607  bytes 49096340 (49.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140607  bytes 49096340 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 158983  bytes 26554381 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238899  bytes 222752223 (222.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 140749  bytes 49115233 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140749  bytes 49115233 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159026  bytes 26564304 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 238950  bytes 222761154 (222.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 140783  bytes 49118697 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140783  bytes 49118697 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159085  bytes 26578067 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239026  bytes 222775454 (222.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 140909  bytes 49136727 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140909  bytes 49136727 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159105  bytes 26582892 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239051  bytes 222779622 (222.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 140929  bytes 49138105 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140929  bytes 49138105 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159163  bytes 26596478 (26.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239124  bytes 222793622 (222.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 141060  bytes 49156371 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141060  bytes 49156371 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159182  bytes 26601220 (26.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239151  bytes 222797945 (222.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 141078  bytes 49157609 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141078  bytes 49157609 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159329  bytes 26625390 (26.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239408  bytes 223062443 (223.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 141226  bytes 49178073 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141226  bytes 49178073 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159475  bytes 26644426 (26.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239662  bytes 223355921 (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 141280  bytes 49181786 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141280  bytes 49181786 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159615  bytes 26667500 (26.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 239890  bytes 223588324 (223.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 141398  bytes 49199364 (49.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141398  bytes 49199364 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159760  bytes 26683036 (26.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240175  bytes 223967220 (223.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 141428  bytes 49201486 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141428  bytes 49201486 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159951  bytes 26708167 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240442  bytes 224248980 (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 141570  bytes 49220492 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141570  bytes 49220492 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 159997  bytes 26718351 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240497  bytes 224258230 (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 141611  bytes 49224434 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141611  bytes 49224434 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160052  bytes 26731815 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240572  bytes 224272436 (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 141740  bytes 49242524 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141740  bytes 49242524 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160194  bytes 26747564 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 240766  bytes 224509342 (224.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 141766  bytes 49244308 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141766  bytes 49244308 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160401  bytes 26773471 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241107  bytes 224913147 (224.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 141886  bytes 49261990 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141886  bytes 49261990 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160544  bytes 26788910 (26.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241400  bytes 225301088 (225.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 141918  bytes 49264240 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141918  bytes 49264240 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160749  bytes 26816377 (26.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241731  bytes 225677946 (225.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 142056  bytes 49284062 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142056  bytes 49284062 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160798  bytes 26826142 (26.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241788  bytes 225687489 (225.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 142106  bytes 49287511 (49.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142106  bytes 49287511 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160851  bytes 26839416 (26.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 241856  bytes 225701262 (225.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 142226  bytes 49305015 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142226  bytes 49305015 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 160948  bytes 26852475 (26.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242018  bytes 225892770 (225.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 142258  bytes 49307265 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142258  bytes 49307265 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161159  bytes 26879902 (26.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242271  bytes 226165492 (226.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 142395  bytes 49325797 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142395  bytes 49325797 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161307  bytes 26900401 (26.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242538  bytes 226476095 (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 142448  bytes 49330561 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142448  bytes 49330561 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161476  bytes 26924908 (26.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 242833  bytes 226812348 (226.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 142576  bytes 49348587 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142576  bytes 49348587 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161591  bytes 26938891 (26.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243076  bytes 227125465 (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 142608  bytes 49350837 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142608  bytes 49350837 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161754  bytes 26962954 (26.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243372  bytes 227464413 (227.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 142733  bytes 49368671 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142733  bytes 49368671 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 161876  bytes 26978381 (26.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243615  bytes 227772368 (227.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 142767  bytes 49371061 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142767  bytes 49371061 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162064  bytes 27005601 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 243881  bytes 228052895 (228.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 142910  bytes 49391285 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142910  bytes 49391285 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162265  bytes 27024519 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244122  bytes 228358078 (228.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 142949  bytes 49393937 (49.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142949  bytes 49393937 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162665  bytes 27068397 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244608  bytes 228944874 (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 143095  bytes 49413227 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143095  bytes 49413227 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162687  bytes 27073723 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244638  bytes 228949468 (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 143123  bytes 49415237 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143123  bytes 49415237 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162746  bytes 27087417 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244712  bytes 228963579 (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 143240  bytes 49432621 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143240  bytes 49432621 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162793  bytes 27097602 (27.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244769  bytes 228972971 (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 143294  bytes 49437396 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143294  bytes 49437396 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162846  bytes 27110950 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244839  bytes 228986866 (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 143415  bytes 49455012 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143415  bytes 49455012 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 162868  bytes 27115940 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 244870  bytes 228991488 (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 143441  bytes 49456844 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143441  bytes 49456844 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163006  bytes 27138795 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245104  bytes 229237107 (229.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 143564  bytes 49474646 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143564  bytes 49474646 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163113  bytes 27152331 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245317  bytes 229507011 (229.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 143594  bytes 49476768 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143594  bytes 49476768 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163291  bytes 27176906 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245583  bytes 229783604 (229.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 143738  bytes 49497084 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143738  bytes 49497084 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163436  bytes 27192661 (27.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 245797  bytes 230049856 (230.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 143774  bytes 49499620 (49.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143774  bytes 49499620 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163598  bytes 27219088 (27.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246072  bytes 230318352 (230.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 143925  bytes 49519044 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143925  bytes 49519044 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163781  bytes 27237523 (27.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246295  bytes 230608693 (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 143949  bytes 49520700 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143949  bytes 49520700 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 163924  bytes 27259851 (27.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246567  bytes 230899007 (230.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 144077  bytes 49538968 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144077  bytes 49538968 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164052  bytes 27275284 (27.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 246768  bytes 231138775 (231.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 144127  bytes 49543425 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144127  bytes 49543425 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164235  bytes 27303051 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247042  bytes 231406620 (231.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 144258  bytes 49561919 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144258  bytes 49561919 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164355  bytes 27318200 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247270  bytes 231696312 (231.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 144290  bytes 49564181 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144290  bytes 49564181 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164503  bytes 27340656 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247524  bytes 231971272 (231.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 144417  bytes 49582155 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144417  bytes 49582155 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164642  bytes 27357662 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 247801  bytes 232339069 (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 144447  bytes 49584277 (49.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144447  bytes 49584277 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164789  bytes 27380958 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248078  bytes 232635885 (232.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 144596  bytes 49604801 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144596  bytes 49604801 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 164919  bytes 27396653 (27.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248308  bytes 232937280 (232.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 144620  bytes 49606457 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144620  bytes 49606457 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165085  bytes 27423387 (27.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248599  bytes 233225622 (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 144774  bytes 49626264 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144774  bytes 49626264 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165254  bytes 27441074 (27.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 248803  bytes 233487446 (233.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 144798  bytes 49627920 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144798  bytes 49627920 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165436  bytes 27465597 (27.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 249077  bytes 233778632 (233.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 144933  bytes 49646500 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144933  bytes 49646500 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165558  bytes 27480702 (27.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 249306  bytes 234062864 (234.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 144980  bytes 49650785 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144980  bytes 49650785 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165732  bytes 27510269 (27.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 249608  bytes 234356983 (234.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 145119  bytes 49669517 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145119  bytes 49669517 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 165853  bytes 27529079 (27.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 249836  bytes 234645922 (234.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 145151  bytes 49671767 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145151  bytes 49671767 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166014  bytes 27553431 (27.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250114  bytes 234945585 (234.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 145272  bytes 49689465 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145272  bytes 49689465 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166115  bytes 27568614 (27.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250309  bytes 235189377 (235.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 145298  bytes 49691261 (49.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145298  bytes 49691261 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166277  bytes 27592743 (27.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250590  bytes 235475839 (235.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 145451  bytes 49712159 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145451  bytes 49712159 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166375  bytes 27606844 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250794  bytes 235734944 (235.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 145475  bytes 49713815 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145475  bytes 49713815 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166451  bytes 27623541 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250894  bytes 235753886 (235.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 145624  bytes 49733220 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145624  bytes 49733220 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166472  bytes 27629416 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 250921  bytes 235758204 (235.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 145646  bytes 49734736 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145646  bytes 49734736 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166615  bytes 27651722 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251178  bytes 236032152 (236.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 145779  bytes 49753274 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145779  bytes 49753274 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166756  bytes 27667858 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251406  bytes 236318699 (236.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 145820  bytes 49757129 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145820  bytes 49757129 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166956  bytes 27696112 (27.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251713  bytes 236638478 (236.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 145961  bytes 49776155 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145961  bytes 49776155 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 166973  bytes 27700781 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 251737  bytes 236642584 (236.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 145981  bytes 49777521 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145981  bytes 49777521 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167125  bytes 27723465 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252011  bytes 236941219 (236.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 146120  bytes 49796273 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146120  bytes 49796273 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167145  bytes 27728419 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252038  bytes 236945601 (236.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 146142  bytes 49797779 (49.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146142  bytes 49797779 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167297  bytes 27752218 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252309  bytes 237223366 (237.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 146287  bytes 49818319 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146287  bytes 49818319 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167449  bytes 27768202 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252527  bytes 237504743 (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 146311  bytes 49819975 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146311  bytes 49819975 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167505  bytes 27781796 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252605  bytes 237519326 (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 146441  bytes 49838228 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146441  bytes 49838228 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167548  bytes 27791029 (27.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252652  bytes 237527890 (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 146472  bytes 49840342 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146472  bytes 49840342 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167733  bytes 27816887 (27.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 252917  bytes 237813082 (237.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 146610  bytes 49859078 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146610  bytes 49859078 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167830  bytes 27830763 (27.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253133  bytes 238080258 (238.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 146644  bytes 49862530 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146644  bytes 49862530 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 167906  bytes 27848467 (27.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253229  bytes 238098777 (238.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 146779  bytes 49881275 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146779  bytes 49881275 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168001  bytes 27861295 (27.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253413  bytes 238332309 (238.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 146803  bytes 49882931 (49.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146803  bytes 49882931 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168227  bytes 27890071 (27.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 253820  bytes 238831715 (238.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 146937  bytes 49901483 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146937  bytes 49901483 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168396  bytes 27907280 (27.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254034  bytes 239093422 (239.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 146969  bytes 49903731 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146969  bytes 49903731 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168585  bytes 27932824 (27.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254310  bytes 239382657 (239.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 147102  bytes 49923483 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147102  bytes 49923483 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93bb12e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93bb12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93bb12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168690  bytes 27946119 (27.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254517  bytes 239644523 (239.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 147134  bytes 49925755 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147134  bytes 49925755 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 168909  bytes 27979210 (27.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 254961  bytes 240187297 (240.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 147273  bytes 49944649 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147273  bytes 49944649 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169058  bytes 27998385 (27.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255198  bytes 240455338 (240.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 147317  bytes 49947584 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147317  bytes 49947584 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169216  bytes 28022303 (28.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255464  bytes 240746426 (240.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 147439  bytes 49965322 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147439  bytes 49965322 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169387  bytes 28041833 (28.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255688  bytes 241018755 (241.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 147479  bytes 49969240 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147479  bytes 49969240 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169581  bytes 28066870 (28.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 255965  bytes 241316365 (241.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 147629  bytes 49988690 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147629  bytes 49988690 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169718  bytes 28086049 (28.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 256199  bytes 241589740 (241.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 147661  bytes 49990916 (49.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147661  bytes 49990916 (49.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 169901  bytes 28110511 (28.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 256478  bytes 241897400 (241.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 147791  bytes 50009236 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147791  bytes 50009236 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170025  bytes 28125898 (28.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 256705  bytes 242182961 (242.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 147819  bytes 50011170 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147819  bytes 50011170 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170176  bytes 28151272 (28.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257001  bytes 242499549 (242.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 147969  bytes 50031906 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147969  bytes 50031906 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170342  bytes 28169630 (28.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257227  bytes 242776255 (242.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 147997  bytes 50033836 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147997  bytes 50033836 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170482  bytes 28192597 (28.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257486  bytes 243058516 (243.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 148121  bytes 50051690 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148121  bytes 50051690 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170524  bytes 28201654 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257538  bytes 243067515 (243.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 148163  bytes 50054544 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148163  bytes 50054544 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170699  bytes 28225847 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 257779  bytes 243321584 (243.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 148293  bytes 50072734 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148293  bytes 50072734 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170821  bytes 28242211 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258016  bytes 243605113 (243.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 148335  bytes 50076818 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148335  bytes 50076818 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 170875  bytes 28255707 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258096  bytes 243619668 (243.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 148483  bytes 50096067 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148483  bytes 50096067 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171041  bytes 28276277 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258341  bytes 243912623 (243.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 148518  bytes 50098465 (50.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148518  bytes 50098465 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171174  bytes 28298844 (28.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258619  bytes 244224283 (244.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 148647  bytes 50116543 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148647  bytes 50116543 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171281  bytes 28313314 (28.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258842  bytes 244505892 (244.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 148679  bytes 50118793 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148679  bytes 50118793 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171339  bytes 28327768 (28.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 258920  bytes 244520462 (244.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 148807  bytes 50138155 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148807  bytes 50138155 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171487  bytes 28344497 (28.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 259129  bytes 244777961 (244.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 148839  bytes 50140443 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148839  bytes 50140443 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171628  bytes 28371011 (28.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 259372  bytes 245030461 (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 148965  bytes 50158365 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148965  bytes 50158365 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 171775  bytes 28389857 (28.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 259625  bytes 245326411 (245.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 149013  bytes 50161638 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149013  bytes 50161638 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172059  bytes 28425532 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260073  bytes 245874078 (245.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 149149  bytes 50180210 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149149  bytes 50180210 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172207  bytes 28442266 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260369  bytes 246259905 (246.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 149187  bytes 50183988 (50.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149187  bytes 50183988 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172257  bytes 28455467 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260438  bytes 246273631 (246.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 149317  bytes 50202122 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149317  bytes 50202122 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172294  bytes 28464363 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260487  bytes 246282393 (246.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 149356  bytes 50204838 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149356  bytes 50204838 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172350  bytes 28477861 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260557  bytes 246296206 (246.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 149475  bytes 50222290 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149475  bytes 50222290 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172370  bytes 28482662 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260586  bytes 246300672 (246.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 149501  bytes 50224122 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149501  bytes 50224122 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172435  bytes 28497451 (28.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260667  bytes 246315502 (246.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 149636  bytes 50243804 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149636  bytes 50243804 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172459  bytes 28502714 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260699  bytes 246320209 (246.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 149664  bytes 50245794 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149664  bytes 50245794 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172518  bytes 28516307 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260772  bytes 246334278 (246.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 149781  bytes 50263178 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149781  bytes 50263178 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172540  bytes 28521345 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260804  bytes 246339120 (246.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 149814  bytes 50265412 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149814  bytes 50265412 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172621  bytes 28539254 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260901  bytes 246357781 (246.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 149951  bytes 50283976 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149951  bytes 50283976 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172647  bytes 28545203 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 260936  bytes 246362804 (246.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 149987  bytes 50287604 (50.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149987  bytes 50287604 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 172832  bytes 28569285 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 261190  bytes 246631998 (246.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 150119  bytes 50305862 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150119  bytes 50305862 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173064  bytes 28596890 (28.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 261653  bytes 247228359 (247.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 150175  bytes 50309650 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150175  bytes 50309650 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173259  bytes 28625644 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262007  bytes 247643985 (247.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 150306  bytes 50327892 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150306  bytes 50327892 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173340  bytes 28637894 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262224  bytes 247920418 (247.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 150340  bytes 50330314 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150340  bytes 50330314 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173402  bytes 28652636 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262307  bytes 247935315 (247.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 150479  bytes 50350318 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150479  bytes 50350318 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173424  bytes 28657649 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262337  bytes 247939855 (247.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 150505  bytes 50352150 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150505  bytes 50352150 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173483  bytes 28671414 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262418  bytes 247954492 (247.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 150622  bytes 50369534 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150622  bytes 50369534 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173500  bytes 28676055 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262442  bytes 247958612 (247.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 150646  bytes 50371238 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150646  bytes 50371238 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173581  bytes 28694141 (28.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262541  bytes 247977558 (247.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 150787  bytes 50390085 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150787  bytes 50390085 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173606  bytes 28700031 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262570  bytes 247982163 (247.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 150815  bytes 50393119 (50.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150815  bytes 50393119 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173662  bytes 28713464 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262645  bytes 247996337 (247.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 150937  bytes 50410941 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150937  bytes 50410941 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173681  bytes 28718276 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262675  bytes 248000922 (248.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 150973  bytes 50413323 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150973  bytes 50413323 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173757  bytes 28736106 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262772  bytes 248019479 (248.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 151100  bytes 50431381 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151100  bytes 50431381 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173777  bytes 28740993 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262800  bytes 248023886 (248.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 151126  bytes 50433213 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151126  bytes 50433213 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173842  bytes 28755881 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262885  bytes 248038932 (248.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 151260  bytes 50452863 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151260  bytes 50452863 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173862  bytes 28760761 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262909  bytes 248043078 (248.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 151286  bytes 50454733 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151286  bytes 50454733 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173918  bytes 28774576 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 262985  bytes 248057363 (248.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 151414  bytes 50472713 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151414  bytes 50472713 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 173935  bytes 28779214 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263007  bytes 248061334 (248.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 151432  bytes 50473951 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151432  bytes 50473951 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174013  bytes 28797077 (28.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263107  bytes 248080374 (248.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 151569  bytes 50492806 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151569  bytes 50492806 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174038  bytes 28802967 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263139  bytes 248085184 (248.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 151597  bytes 50495840 (50.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151597  bytes 50495840 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174098  bytes 28816653 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263215  bytes 248099428 (248.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 151719  bytes 50513638 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151719  bytes 50513638 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174121  bytes 28821586 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263246  bytes 248103993 (248.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 151754  bytes 50515975 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151754  bytes 50515975 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174197  bytes 28839319 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263343  bytes 248122538 (248.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 151885  bytes 50534355 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151885  bytes 50534355 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174215  bytes 28844009 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263364  bytes 248126436 (248.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 151903  bytes 50535593 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151903  bytes 50535593 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174281  bytes 28858824 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263447  bytes 248141337 (248.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 152039  bytes 50555559 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152039  bytes 50555559 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174304  bytes 28863956 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263473  bytes 248145620 (248.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 152061  bytes 50557065 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152061  bytes 50557065 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174359  bytes 28877334 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263548  bytes 248159803 (248.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 152188  bytes 50575087 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152188  bytes 50575087 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174376  bytes 28881972 (28.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263570  bytes 248163775 (248.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 152206  bytes 50576325 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152206  bytes 50576325 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174454  bytes 28900008 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263671  bytes 248182832 (248.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 152358  bytes 50595898 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152358  bytes 50595898 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174477  bytes 28905747 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263700  bytes 248187430 (248.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 152384  bytes 50598792 (50.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152384  bytes 50598792 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174534  bytes 28919410 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263778  bytes 248201864 (248.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 152508  bytes 50616730 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152508  bytes 50616730 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174554  bytes 28924321 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263804  bytes 248206176 (248.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 152535  bytes 50618499 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152535  bytes 50618499 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174626  bytes 28941694 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263902  bytes 248224767 (248.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 152678  bytes 50637511 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152678  bytes 50637511 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174643  bytes 28946356 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 263923  bytes 248228698 (248.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 152696  bytes 50638749 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152696  bytes 50638749 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174708  bytes 28961139 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264014  bytes 248244350 (248.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 152838  bytes 50658981 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152838  bytes 50658981 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174729  bytes 28966197 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264038  bytes 248248471 (248.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 152860  bytes 50660543 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152860  bytes 50660543 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174780  bytes 28979399 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264113  bytes 248262690 (248.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 152990  bytes 50678757 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152990  bytes 50678757 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174798  bytes 28984132 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264137  bytes 248266818 (248.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 153010  bytes 50680135 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153010  bytes 50680135 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174852  bytes 28997578 (28.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264214  bytes 248281284 (248.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 153146  bytes 50698699 (50.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153146  bytes 50698699 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174900  bytes 29007891 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264268  bytes 248290521 (248.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 153187  bytes 50702609 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153187  bytes 50702609 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 174957  bytes 29021389 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264341  bytes 248304576 (248.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 153307  bytes 50720303 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153307  bytes 50720303 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175102  bytes 29037154 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 264694  bytes 248782255 (248.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 153331  bytes 50721959 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153331  bytes 50721959 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175358  bytes 29068575 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265090  bytes 249234031 (249.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 153492  bytes 50742100 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153492  bytes 50742100 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175377  bytes 29073293 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265113  bytes 249238046 (249.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 153510  bytes 50743338 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153510  bytes 50743338 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175443  bytes 29088325 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265201  bytes 249253365 (249.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 153647  bytes 50763322 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153647  bytes 50763322 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175463  bytes 29093313 (29.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265227  bytes 249257652 (249.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 153665  bytes 50764560 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153665  bytes 50764560 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175518  bytes 29106781 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265302  bytes 249271833 (249.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 153795  bytes 50782834 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153795  bytes 50782834 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175536  bytes 29111490 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265327  bytes 249276003 (249.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 153815  bytes 50784212 (50.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153815  bytes 50784212 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175600  bytes 29125449 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265404  bytes 249290983 (249.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 153948  bytes 50802668 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153948  bytes 50802668 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175648  bytes 29135732 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265459  bytes 249300396 (249.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 153992  bytes 50806712 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153992  bytes 50806712 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175703  bytes 29149314 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265533  bytes 249314528 (249.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 154106  bytes 50823940 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154106  bytes 50823940 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175720  bytes 29153952 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265560  bytes 249318871 (249.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 154130  bytes 50825644 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154130  bytes 50825644 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175777  bytes 29167452 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265637  bytes 249333260 (249.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 154268  bytes 50844353 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154268  bytes 50844353 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175815  bytes 29176431 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265682  bytes 249341707 (249.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 154298  bytes 50846455 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154298  bytes 50846455 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175879  bytes 29191278 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265769  bytes 249356845 (249.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 154443  bytes 50866831 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154443  bytes 50866831 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175900  bytes 29196254 (29.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265796  bytes 249361195 (249.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 154463  bytes 50868197 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154463  bytes 50868197 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175960  bytes 29210117 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265870  bytes 249375333 (249.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 154597  bytes 50886655 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154597  bytes 50886655 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 175976  bytes 29214679 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 265897  bytes 249379644 (249.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 154615  bytes 50887893 (50.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154615  bytes 50887893 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176189  bytes 29241482 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266170  bytes 249684356 (249.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 154737  bytes 50905643 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154737  bytes 50905643 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176381  bytes 29266243 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266584  bytes 250207920 (250.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 154795  bytes 50910700 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154795  bytes 50910700 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176439  bytes 29279865 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266654  bytes 250221801 (250.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 154908  bytes 50927876 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154908  bytes 50927876 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176456  bytes 29284597 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266683  bytes 250226343 (250.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 154934  bytes 50929720 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154934  bytes 50929720 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176521  bytes 29298768 (29.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266765  bytes 250241830 (250.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 155072  bytes 50948388 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155072  bytes 50948388 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176558  bytes 29307552 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266810  bytes 250250210 (250.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 155101  bytes 50950368 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155101  bytes 50950368 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176623  bytes 29322324 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266887  bytes 250264669 (250.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 155244  bytes 50970536 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155244  bytes 50970536 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176647  bytes 29327696 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266924  bytes 250269848 (250.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 155282  bytes 50973250 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155282  bytes 50973250 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176701  bytes 29341062 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 266993  bytes 250283639 (250.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 155407  bytes 50991050 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155407  bytes 50991050 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176718  bytes 29345700 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267020  bytes 250287982 (250.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 155431  bytes 50992754 (50.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155431  bytes 50992754 (50.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 176951  bytes 29372626 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267442  bytes 250816110 (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 155563  bytes 51011048 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155563  bytes 51011048 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177148  bytes 29396803 (29.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 267830  bytes 251303066 (251.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 155623  bytes 51016245 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155623  bytes 51016245 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177377  bytes 29424187 (29.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268132  bytes 251653032 (251.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 155735  bytes 51033439 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155735  bytes 51033439 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177394  bytes 29428825 (29.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268158  bytes 251657301 (251.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 155759  bytes 51035143 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155759  bytes 51035143 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177747  bytes 29468049 (29.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 268844  bytes 252564999 (252.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 155901  bytes 51054078 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155901  bytes 51054078 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 177879  bytes 29486182 (29.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269142  bytes 252931277 (252.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 155944  bytes 51057046 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155944  bytes 51057046 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178141  bytes 29517299 (29.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269495  bytes 253339957 (253.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 156090  bytes 51077508 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156090  bytes 51077508 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178263  bytes 29531738 (29.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 269746  bytes 253665422 (253.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 156120  bytes 51079630 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156120  bytes 51079630 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178509  bytes 29560422 (29.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270115  bytes 254114619 (254.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 156245  bytes 51097500 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156245  bytes 51097500 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178643  bytes 29575417 (29.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270427  bytes 254534225 (254.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 156277  bytes 51099750 (51.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156277  bytes 51099750 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178842  bytes 29600565 (29.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270780  bytes 254960303 (254.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 156403  bytes 51117708 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156403  bytes 51117708 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 178981  bytes 29617563 (29.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 270983  bytes 255195132 (255.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 156450  bytes 51122054 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156450  bytes 51122054 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179169  bytes 29644930 (29.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 271342  bytes 255602449 (255.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 156587  bytes 51140760 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156587  bytes 51140760 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179359  bytes 29662782 (29.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 271635  bytes 255995770 (255.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 156617  bytes 51142882 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156617  bytes 51142882 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179502  bytes 29685976 (29.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 271872  bytes 256238474 (256.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 156750  bytes 51161264 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156750  bytes 51161264 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179707  bytes 29707811 (29.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272153  bytes 256582521 (256.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 156804  bytes 51164941 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156804  bytes 51164941 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 179990  bytes 29739155 (29.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272525  bytes 257025199 (257.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 156948  bytes 51185217 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156948  bytes 51185217 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180106  bytes 29753293 (29.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 272756  bytes 257321119 (257.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 156982  bytes 51187607 (51.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156982  bytes 51187607 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180274  bytes 29777692 (29.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273060  bytes 257666619 (257.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 157112  bytes 51205737 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157112  bytes 51205737 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180447  bytes 29795609 (29.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273353  bytes 258057414 (258.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 157144  bytes 51207987 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157144  bytes 51207987 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180680  bytes 29822572 (29.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 273717  bytes 258495695 (258.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 157279  bytes 51226401 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157279  bytes 51226401 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 180841  bytes 29840773 (29.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274036  bytes 258916638 (258.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 157319  bytes 51230319 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157319  bytes 51230319 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181058  bytes 29869580 (29.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 274457  bytes 259415157 (259.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 157459  bytes 51249147 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157459  bytes 51249147 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181490  bytes 29906088 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275090  bytes 260309878 (260.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 157489  bytes 51251221 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157489  bytes 51251221 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181547  bytes 29919737 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275167  bytes 260324231 (260.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 157625  bytes 51269783 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157625  bytes 51269783 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181567  bytes 29924624 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275198  bytes 260328881 (260.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 157663  bytes 51272294 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157663  bytes 51272294 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181727  bytes 29952692 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275469  bytes 260587750 (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 157812  bytes 51292898 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157812  bytes 51292898 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181853  bytes 29969268 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275736  bytes 260931099 (260.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 157852  bytes 51295776 (51.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157852  bytes 51295776 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181909  bytes 29982710 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275810  bytes 260945279 (260.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 157972  bytes 51313280 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157972  bytes 51313280 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 181925  bytes 29987330 (29.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275832  bytes 260949259 (260.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 157992  bytes 51314658 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157992  bytes 51314658 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182075  bytes 30009994 (30.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276096  bytes 261231819 (261.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 158127  bytes 51333262 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158127  bytes 51333262 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182241  bytes 30028333 (30.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276323  bytes 261516572 (261.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 158161  bytes 51336702 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158161  bytes 51336702 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182412  bytes 30054902 (30.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 276654  bytes 261870338 (261.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 158298  bytes 51355637 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158298  bytes 51355637 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182643  bytes 30080055 (30.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 277101  bytes 262483508 (262.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 158328  bytes 51357711 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158328  bytes 51357711 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182826  bytes 30104387 (30.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 277437  bytes 262876450 (262.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 158465  bytes 51376359 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158465  bytes 51376359 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 182981  bytes 30122292 (30.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 277745  bytes 263289155 (263.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 158506  bytes 51379128 (51.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158506  bytes 51379128 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183158  bytes 30150787 (30.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278025  bytes 263553833 (263.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 158661  bytes 51400190 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158661  bytes 51400190 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183335  bytes 30169066 (30.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278309  bytes 263930032 (263.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 158687  bytes 51401992 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158687  bytes 51401992 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183494  bytes 30192417 (30.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278631  bytes 264299645 (264.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 158821  bytes 51420484 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158821  bytes 51420484 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183611  bytes 30207417 (30.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 278833  bytes 264556671 (264.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 158847  bytes 51422280 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158847  bytes 51422280 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183817  bytes 30234864 (30.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 279159  bytes 264924425 (264.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 158981  bytes 51440832 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158981  bytes 51440832 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:35:19:69:d2  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 183936  bytes 30251853 (30.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 279398  bytes 265220832 (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 159013  bytes 51444144 (51.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159013  bytes 51444144 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 207  bytes 150484 (150.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 275  bytes 30940 (30.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 344  bytes 25931 (25.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 344  bytes 25931 (25.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 250  bytes 158764 (158.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 326  bytes 38173 (38.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 392  bytes 29403 (29.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 392  bytes 29403 (29.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 373  bytes 173480 (173.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 569  bytes 345984 (345.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 434  bytes 32421 (32.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 434  bytes 32421 (32.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 508  bytes 189008 (189.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 837  bytes 682183 (682.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 480  bytes 35645 (35.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 480  bytes 35645 (35.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 526  bytes 193770 (193.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 864  bytes 686801 (686.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 504  bytes 37337 (37.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 504  bytes 37337 (37.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 551  bytes 199697 (199.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 894  bytes 691659 (691.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 536  bytes 40685 (40.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 536  bytes 40685 (40.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 574  bytes 204852 (204.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 932  bytes 697118 (697.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 568  bytes 42983 (42.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 568  bytes 42983 (42.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 598  bytes 210081 (210.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 959  bytes 701762 (701.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 588  bytes 44349 (44.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 588  bytes 44349 (44.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 618  bytes 214895 (214.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 989  bytes 706582 (706.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 614  bytes 46181 (46.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 614  bytes 46181 (46.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 639  bytes 219869 (219.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1015  bytes 711122 (711.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 640  bytes 48001 (48.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 640  bytes 48001 (48.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 660  bytes 225372 (225.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1048  bytes 716228 (716.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 672  bytes 51361 (51.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 672  bytes 51361 (51.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 726  bytes 239128 (239.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1127  bytes 730466 (730.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 738  bytes 55806 (55.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 738  bytes 55806 (55.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 930  bytes 257791 (257.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1466  bytes 1182642 (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 772  bytes 58222 (58.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 772  bytes 58222 (58.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1102  bytes 276675 (276.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1713  bytes 1502106 (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 802  bytes 60318 (60.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 802  bytes 60318 (60.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1233  bytes 291494 (291.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1970  bytes 1835026 (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 834  bytes 62568 (62.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 834  bytes 62568 (62.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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1353  bytes 306613 (306.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2217  bytes 2152467 (2.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 874  bytes 66462 (66.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 874  bytes 66462 (66.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1527  bytes 323910 (323.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2467  bytes 2470674 (2.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 906  bytes 68724 (68.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 906  bytes 68724 (68.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1648  bytes 338198 (338.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2695  bytes 2770050 (2.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 930  bytes 70380 (70.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 930  bytes 70380 (70.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1762  bytes 353152 (353.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2924  bytes 3061097 (3.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 962  bytes 72630 (72.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 962  bytes 72630 (72.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1785  bytes 358328 (358.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2953  bytes 3065905 (3.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 988  bytes 74484 (74.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 988  bytes 74484 (74.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1807  bytes 363791 (363.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2981  bytes 3070614 (3.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 1020  bytes 77844 (77.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1020  bytes 77844 (77.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 1938  bytes 379131 (379.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3219  bytes 3357514 (3.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 1060  bytes 80566 (80.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1060  bytes 80566 (80.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2001  bytes 392811 (392.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3300  bytes 3373144 (3.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 1114  bytes 84234 (84.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1114  bytes 84234 (84.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2138  bytes 416255 (416.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3516  bytes 3578025 (3.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 1250  bytes 102824 (102.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1250  bytes 102824 (102.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2246  bytes 429966 (429.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3742  bytes 3866254 (3.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 1280  bytes 104946 (104.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1280  bytes 104946 (104.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 453956 (453.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4050  bytes 4217754 (4.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 1413  bytes 124532 (124.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1413  bytes 124532 (124.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2626  bytes 476533 (476.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4365  bytes 4614766 (4.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 1479  bytes 134413 (134.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1479  bytes 134413 (134.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 2895  bytes 510264 (510.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4747  bytes 4998319 (4.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 1784  bytes 169389 (169.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1784  bytes 169389 (169.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3272  bytes 556050 (556.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5078  bytes 5066679 (5.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 2718  bytes 260915 (260.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 2718  bytes 260915 (260.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3430  bytes 578412 (578.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5218  bytes 5111152 (5.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 3119  bytes 317729 (317.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3119  bytes 317729 (317.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3448  bytes 583676 (583.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5242  bytes 5115571 (5.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 3145  bytes 320623 (320.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3145  bytes 320623 (320.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3516  bytes 598023 (598.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5327  bytes 5130757 (5.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 3271  bytes 338807 (338.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3271  bytes 338807 (338.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3581  bytes 611677 (611.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5399  bytes 5144329 (5.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 3338  bytes 343244 (343.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3338  bytes 343244 (343.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3648  bytes 627380 (627.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5476  bytes 5159001 (5.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 3458  bytes 360748 (360.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3458  bytes 360748 (360.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3668  bytes 632285 (632.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5505  bytes 5163751 (5.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 3486  bytes 362720 (362.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3486  bytes 362720 (362.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3726  bytes 646506 (646.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5581  bytes 5178382 (5.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 3610  bytes 381696 (381.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3610  bytes 381696 (381.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3744  bytes 651216 (651.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5603  bytes 5182620 (5.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 3630  bytes 383062 (383.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3630  bytes 383062 (383.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3799  bytes 664714 (664.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5677  bytes 5196963 (5.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 3760  bytes 401276 (401.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3760  bytes 401276 (401.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3817  bytes 669404 (669.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5699  bytes 5201206 (5.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 3778  bytes 402514 (402.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3778  bytes 402514 (402.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3878  bytes 683415 (683.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5782  bytes 5216360 (5.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 3915  bytes 421234 (421.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3915  bytes 421234 (421.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3921  bytes 693445 (693.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5830  bytes 5226912 (5.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 3997  bytes 433763 (433.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 3997  bytes 433763 (433.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 3964  bytes 702948 (702.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5889  bytes 5237162 (5.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 4071  bytes 443400 (443.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4071  bytes 443400 (443.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4030  bytes 716620 (716.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5964  bytes 5251005 (5.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 4138  bytes 447836 (447.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4138  bytes 447836 (447.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4067  bytes 725593 (725.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6013  bytes 5260382 (5.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 4204  bytes 456821 (456.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4204  bytes 456821 (456.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4086  bytes 730366 (730.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6036  bytes 5264706 (5.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 4224  bytes 458209 (458.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4224  bytes 458209 (458.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4124  bytes 739706 (739.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6089  bytes 5274373 (5.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 4296  bytes 468876 (468.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4296  bytes 468876 (468.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4146  bytes 744833 (744.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6117  bytes 5279111 (5.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 4316  bytes 470254 (470.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4316  bytes 470254 (470.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4186  bytes 754031 (754.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6169  bytes 5289108 (5.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 4386  bytes 479577 (479.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4386  bytes 479577 (479.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4306  bytes 776600 (776.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6388  bytes 5535418 (5.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 4422  bytes 482069 (482.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4422  bytes 482069 (482.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 797211 (797.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6708  bytes 5934176 (5.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 4509  bytes 492442 (492.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4509  bytes 492442 (492.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4585  bytes 811761 (811.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6922  bytes 6205508 (6.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 4541  bytes 495754 (495.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4541  bytes 495754 (495.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4841  bytes 842199 (842.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7246  bytes 6558953 (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 4689  bytes 515352 (515.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4689  bytes 515352 (515.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4905  bytes 855595 (855.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7315  bytes 6572286 (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 4745  bytes 519026 (519.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4745  bytes 519026 (519.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 869529 (869.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7395  bytes 6587201 (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 4881  bytes 537588 (537.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4881  bytes 537588 (537.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 4986  bytes 874167 (874.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7417  bytes 6591444 (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 4899  bytes 538826 (538.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 4899  bytes 538826 (538.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5047  bytes 888490 (888.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7499  bytes 6606403 (6.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 5044  bytes 559084 (559.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5044  bytes 559084 (559.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5068  bytes 893533 (893.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7526  bytes 6611071 (6.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 5062  bytes 560322 (560.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5062  bytes 560322 (560.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5128  bytes 908083 (908.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7609  bytes 6626191 (6.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 5189  bytes 578404 (578.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5189  bytes 578404 (578.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5146  bytes 912764 (912.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7632  bytes 6630508 (6.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 5207  bytes 579642 (579.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5207  bytes 579642 (579.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5211  bytes 927110 (927.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7711  bytes 6645413 (6.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 5332  bytes 597596 (597.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5332  bytes 597596 (597.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5230  bytes 931950 (931.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7740  bytes 6650214 (6.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 5356  bytes 599274 (599.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5356  bytes 599274 (599.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5298  bytes 948448 (948.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7823  bytes 6665333 (6.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 5495  bytes 619270 (619.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5495  bytes 619270 (619.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5318  bytes 953342 (953.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7850  bytes 6670125 (6.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 5525  bytes 621223 (621.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5525  bytes 621223 (621.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5413  bytes 975294 (975.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7965  bytes 6693130 (6.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 5678  bytes 641076 (641.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5678  bytes 641076 (641.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5430  bytes 979952 (979.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7989  bytes 6697526 (6.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 5698  bytes 642442 (642.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5698  bytes 642442 (642.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5497  bytes 994962 (994.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8074  bytes 6713285 (6.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 5834  bytes 662172 (662.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5834  bytes 662172 (662.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5610  bytes 1009095 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8280  bytes 6974877 (6.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 5860  bytes 663968 (663.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5860  bytes 663968 (663.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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5669  bytes 1023101 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8354  bytes 6989316 (6.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 5989  bytes 682190 (682.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 5989  bytes 682190 (682.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5687  bytes 1027823 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8379  bytes 6993786 (6.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 6009  bytes 683568 (683.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6009  bytes 683568 (683.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5849  bytes 1052905 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8707  bytes 7370330 (7.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 6139  bytes 701758 (701.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6139  bytes 701758 (701.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 5958  bytes 1067392 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8926  bytes 7639337 (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 6179  bytes 705664 (705.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6179  bytes 705664 (705.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6163  bytes 1096974 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9227  bytes 7961744 (7.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 6315  bytes 724342 (724.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6315  bytes 724342 (724.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6319  bytes 1113114 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9491  bytes 8308115 (8.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 6347  bytes 726604 (726.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6347  bytes 726604 (726.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6422  bytes 1135363 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9614  bytes 8331846 (8.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 6517  bytes 747445 (747.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6517  bytes 747445 (747.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6441  bytes 1140136 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9639  bytes 8336327 (8.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 6537  bytes 748833 (748.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6537  bytes 748833 (748.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6501  bytes 1154280 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9713  bytes 8350749 (8.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 6675  bytes 768655 (768.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6675  bytes 768655 (768.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6527  bytes 1159829 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9747  bytes 8355947 (8.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 6695  bytes 770021 (770.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6695  bytes 770021 (770.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6582  bytes 1173239 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9816  bytes 8369929 (8.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 6820  bytes 787857 (787.8 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6820  bytes 787857 (787.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6600  bytes 1177937 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9845  bytes 8374664 (8.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 6846  bytes 789701 (789.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6846  bytes 789701 (789.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6656  bytes 1191511 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9915  bytes 8388841 (8.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 6964  bytes 807101 (807.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6964  bytes 807101 (807.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 1197090 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9948  bytes 8393885 (8.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 6998  bytes 810589 (810.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 6998  bytes 810589 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6744  bytes 1211498 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10031  bytes 8409021 (8.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 7114  bytes 828087 (828.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7114  bytes 828087 (828.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6763  bytes 1216236 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10059  bytes 8413682 (8.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 7140  bytes 829919 (829.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7140  bytes 829919 (829.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6861  bytes 1238381 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10179  bytes 8437130 (8.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 7311  bytes 850735 (850.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7311  bytes 850735 (850.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6880  bytes 1243167 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10207  bytes 8441839 (8.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 7331  bytes 852101 (852.1 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7331  bytes 852101 (852.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6938  bytes 1257371 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10277  bytes 8455985 (8.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 7463  bytes 871505 (871.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7463  bytes 871505 (871.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 6960  bytes 1262518 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10311  bytes 8461172 (8.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 7491  bytes 873477 (873.4 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7491  bytes 873477 (873.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7013  bytes 1275868 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10382  bytes 8475374 (8.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 7604  bytes 890653 (890.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7604  bytes 890653 (890.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7030  bytes 1280482 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10410  bytes 8480039 (8.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 7628  bytes 892357 (892.3 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7628  bytes 892357 (892.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7091  bytes 1294239 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10483  bytes 8495501 (8.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 7751  bytes 909997 (909.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7751  bytes 909997 (909.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7114  bytes 1299786 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10516  bytes 8500544 (8.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 7787  bytes 913663 (913.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7787  bytes 913663 (913.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7175  bytes 1313984 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10597  bytes 8515589 (8.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 7911  bytes 931589 (931.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7911  bytes 931589 (931.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7193  bytes 1318650 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10624  bytes 8520180 (8.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 7935  bytes 933293 (933.2 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 7935  bytes 933293 (933.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7290  bytes 1340450 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10738  bytes 8543209 (8.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 8084  bytes 952714 (952.7 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8084  bytes 952714 (952.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7309  bytes 1345200 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10767  bytes 8547944 (8.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 8119  bytes 955076 (955.0 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8119  bytes 955076 (955.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7372  bytes 1359130 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10840  bytes 8562829 (8.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 8243  bytes 972916 (972.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8243  bytes 972916 (972.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7396  bytes 1364986 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10874  bytes 8568055 (8.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 8271  bytes 975976 (975.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8271  bytes 975976 (975.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7450  bytes 1378529 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10948  bytes 8582403 (8.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 8394  bytes 993672 (993.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8394  bytes 993672 (993.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7469  bytes 1383267 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10976  bytes 8587064 (8.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 8420  bytes 995504 (995.5 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8420  bytes 995504 (995.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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7540  bytes 1401449 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11068  bytes 8606261 (8.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 8589  bytes 1022095 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8589  bytes 1022095 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7722  bytes 1423394 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11223  bytes 8635876 (8.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 8982  bytes 1059667 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 8982  bytes 1059667 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7794  bytes 1438082 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11308  bytes 8653371 (8.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 9112  bytes 1077797 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9112  bytes 1077797 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 7936  bytes 1455008 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11406  bytes 8668974 (8.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 9345  bytes 1096605 (1.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9345  bytes 1096605 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8000  bytes 1469195 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11487  bytes 8684104 (8.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 9471  bytes 1114512 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9471  bytes 1114512 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8060  bytes 1482487 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11562  bytes 8697747 (8.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 9528  bytes 1118375 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9528  bytes 1118375 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8126  bytes 1497150 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11636  bytes 8712301 (8.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 9657  bytes 1137669 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9657  bytes 1137669 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8149  bytes 1502293 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11669  bytes 8717387 (8.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 9683  bytes 1139501 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9683  bytes 1139501 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8210  bytes 1516142 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11745  bytes 8731937 (8.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 9810  bytes 1157429 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9810  bytes 1157429 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8228  bytes 1520808 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11771  bytes 8736454 (8.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 9834  bytes 1159133 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9834  bytes 1159133 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8283  bytes 1534306 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11844  bytes 8750765 (8.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 9960  bytes 1177021 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9960  bytes 1177021 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8303  bytes 1539926 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11868  bytes 8755200 (8.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 9986  bytes 1179915 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 9986  bytes 1179915 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8370  bytes 1554318 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11957  bytes 8770883 (8.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 10124  bytes 1198769 (1.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10124  bytes 1198769 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8387  bytes 1558980 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11978  bytes 8775094 (8.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 10142  bytes 1200007 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10142  bytes 1200007 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8448  bytes 1573029 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12056  bytes 8789922 (8.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 10271  bytes 1218193 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10271  bytes 1218193 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8509  bytes 1586271 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12129  bytes 8803479 (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 10335  bytes 1222436 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10335  bytes 1222436 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8564  bytes 1600319 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12207  bytes 8818146 (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 10466  bytes 1241788 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10466  bytes 1241788 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8587  bytes 1605494 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12236  bytes 8822968 (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 10492  bytes 1243632 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10492  bytes 1243632 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 1619208 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12310  bytes 8838096 (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 10615  bytes 1261352 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10615  bytes 1261352 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8664  bytes 1623922 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12333  bytes 8842439 (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 10633  bytes 1262590 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10633  bytes 1262590 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8721  bytes 1637504 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12411  bytes 8859288 (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 10761  bytes 1280700 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10761  bytes 1280700 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8741  bytes 1642872 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12435  bytes 8863719 (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 10787  bytes 1283594 (1.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10787  bytes 1283594 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8808  bytes 1657723 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12526  bytes 8879464 (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 10924  bytes 1302422 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10924  bytes 1302422 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8826  bytes 1662500 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12549  bytes 8883825 (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 10948  bytes 1304078 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 10948  bytes 1304078 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8881  bytes 1675774 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12624  bytes 8899420 (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 11075  bytes 1322088 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11075  bytes 1322088 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 8946  bytes 1689363 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12696  bytes 8913014 (8.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 11129  bytes 1325633 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11129  bytes 1325633 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9011  bytes 1703805 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12782  bytes 8928371 (8.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 11261  bytes 1343975 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11261  bytes 1343975 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9033  bytes 1709461 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12812  bytes 8933292 (8.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 11287  bytes 1346869 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11287  bytes 1346869 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9087  bytes 1722942 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12889  bytes 8947934 (8.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 11420  bytes 1365275 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11420  bytes 1365275 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9106  bytes 1727704 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12912  bytes 8952257 (8.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 11440  bytes 1366641 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11440  bytes 1366641 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9157  bytes 1740921 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12984  bytes 8966501 (8.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 11565  bytes 1384559 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11565  bytes 1384559 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9178  bytes 1746349 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13011  bytes 8971225 (8.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 11591  bytes 1387453 (1.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11591  bytes 1387453 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9238  bytes 1760312 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13092  bytes 8986089 (8.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 11726  bytes 1406069 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11726  bytes 1406069 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9257  bytes 1765074 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13116  bytes 8990487 (8.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 11746  bytes 1407435 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11746  bytes 1407435 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9309  bytes 1778272 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13190  bytes 9004889 (9.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 11860  bytes 1424781 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11860  bytes 1424781 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9371  bytes 1791593 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13263  bytes 9018463 (9.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 11909  bytes 1428078 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 11909  bytes 1428078 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9435  bytes 1806173 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13344  bytes 9033397 (9.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 12052  bytes 1448319 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12052  bytes 1448319 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9458  bytes 1811395 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13373  bytes 9038237 (9.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 12070  bytes 1449557 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12070  bytes 1449557 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9518  bytes 1825327 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13450  bytes 9052901 (9.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 12190  bytes 1467179 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12190  bytes 1467179 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9540  bytes 1830460 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13476  bytes 9057953 (9.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 12210  bytes 1468557 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12210  bytes 1468557 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9597  bytes 1843958 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13551  bytes 9072434 (9.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 12332  bytes 1486343 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12332  bytes 1486343 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9618  bytes 1849607 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13580  bytes 9077193 (9.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 12358  bytes 1489237 (1.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12358  bytes 1489237 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9683  bytes 1864065 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13669  bytes 9092800 (9.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 12485  bytes 1507437 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12485  bytes 1507437 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9701  bytes 1868787 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13694  bytes 9097273 (9.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 12505  bytes 1508815 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12505  bytes 1508815 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9760  bytes 1882461 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13765  bytes 9113746 (9.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 12627  bytes 1526423 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12627  bytes 1526423 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9782  bytes 1887454 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13797  bytes 9118852 (9.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 12661  bytes 1528701 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12661  bytes 1528701 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9885  bytes 1910286 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13920  bytes 9142343 (9.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 12827  bytes 1550432 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12827  bytes 1550432 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9907  bytes 1915353 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13949  bytes 9147137 (9.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 12845  bytes 1551670 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12845  bytes 1551670 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9968  bytes 1929340 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14028  bytes 9162961 (9.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 12976  bytes 1569900 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12976  bytes 1569900 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 9988  bytes 1934362 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14053  bytes 9167410 (9.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 12994  bytes 1571138 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 12994  bytes 1571138 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 1949945 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14131  bytes 9182109 (9.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 13119  bytes 1589116 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13119  bytes 1589116 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10264  bytes 1975575 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14472  bytes 9625097 (9.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 13159  bytes 1592986 (1.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13159  bytes 1592986 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10327  bytes 1989731 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14553  bytes 9640049 (9.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 13292  bytes 1611402 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13292  bytes 1611402 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10347  bytes 1994620 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14583  bytes 9644923 (9.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 13320  bytes 1613412 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13320  bytes 1613412 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10410  bytes 2008625 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14656  bytes 9660451 (9.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 13444  bytes 1631198 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13444  bytes 1631198 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10429  bytes 2013387 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14684  bytes 9665146 (9.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 13470  bytes 1633030 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13470  bytes 1633030 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10551  bytes 2039337 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14832  bytes 9690820 (9.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 13659  bytes 1656475 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13659  bytes 1656475 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10574  bytes 2044500 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14861  bytes 9695537 (9.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 13681  bytes 1657981 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13681  bytes 1657981 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10633  bytes 2058257 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14933  bytes 9709795 (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 13809  bytes 1676091 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13809  bytes 1676091 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10649  bytes 2062843 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14958  bytes 9714272 (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 13827  bytes 1677329 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13827  bytes 1677329 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10704  bytes 2076328 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15030  bytes 9728562 (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 13954  bytes 1695233 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13954  bytes 1695233 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10723  bytes 2081046 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15058  bytes 9733228 (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 13978  bytes 1696937 (1.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 13978  bytes 1696937 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10793  bytes 2096503 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15151  bytes 9749307 (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 14106  bytes 1716335 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14106  bytes 1716335 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10810  bytes 2101141 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15178  bytes 9753932 (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 14130  bytes 1718039 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14130  bytes 1718039 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10867  bytes 2114743 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15249  bytes 9768137 (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 14251  bytes 1735631 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14251  bytes 1735631 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10885  bytes 2119429 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15277  bytes 9772800 (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 14277  bytes 1737463 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14277  bytes 1737463 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 10994  bytes 2143561 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15408  bytes 9797242 (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 14440  bytes 1758877 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14440  bytes 1758877 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11014  bytes 2148407 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15438  bytes 9802077 (9.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 14470  bytes 1760953 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14470  bytes 1760953 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11076  bytes 2162225 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15509  bytes 9816282 (9.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 14593  bytes 1778649 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14593  bytes 1778649 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11095  bytes 2167018 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15538  bytes 9821030 (9.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 14617  bytes 1780353 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14617  bytes 1780353 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11155  bytes 2182172 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15612  bytes 9835477 (9.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 14736  bytes 1797841 (1.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14736  bytes 1797841 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11176  bytes 2187588 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15643  bytes 9840391 (9.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 14770  bytes 1801329 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14770  bytes 1801329 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11235  bytes 2201490 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15719  bytes 9854946 (9.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 14894  bytes 1819183 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14894  bytes 1819183 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11254  bytes 2206359 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15748  bytes 9859718 (9.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 14922  bytes 1821155 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 14922  bytes 1821155 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11310  bytes 2219765 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15818  bytes 9873841 (9.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 15040  bytes 1838555 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15040  bytes 1838555 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11329  bytes 2224598 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15846  bytes 9878519 (9.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 15066  bytes 1840399 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15066  bytes 1840399 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11424  bytes 2246820 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15963  bytes 9901736 (9.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 15219  bytes 1861208 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15219  bytes 1861208 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11447  bytes 2251975 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15998  bytes 9906964 (9.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 15254  bytes 1863571 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15254  bytes 1863571 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11505  bytes 2265493 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16071  bytes 9921349 (9.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 15373  bytes 1881047 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15373  bytes 1881047 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11524  bytes 2270446 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16099  bytes 9926048 (9.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 15399  bytes 1882891 (1.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15399  bytes 1882891 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11582  bytes 2284321 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16173  bytes 9940475 (9.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 15525  bytes 1900743 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15525  bytes 1900743 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11603  bytes 2289749 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16204  bytes 9945390 (9.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 15559  bytes 1904243 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15559  bytes 1904243 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11667  bytes 2304141 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16284  bytes 9961386 (9.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 15685  bytes 1922237 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15685  bytes 1922237 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11688  bytes 2309129 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16315  bytes 9966302 (9.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 15715  bytes 1924375 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15715  bytes 1924375 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11752  bytes 2323672 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16394  bytes 9982221 (9.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 15843  bytes 1942401 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15843  bytes 1942401 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11773  bytes 2329025 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16418  bytes 9986638 (9.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 15861  bytes 1943639 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 15861  bytes 1943639 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 11978  bytes 2355683 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16800  bytes 10432852 (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 16017  bytes 1964606 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16017  bytes 1964606 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12150  bytes 2380157 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17097  bytes 10760515 (10.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 16078  bytes 1968781 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16078  bytes 1968781 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12316  bytes 2404448 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17383  bytes 11077881 (11.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 16206  bytes 1986831 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16206  bytes 1986831 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12335  bytes 2409166 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17409  bytes 11082399 (11.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 16230  bytes 1988535 (1.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16230  bytes 1988535 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12399  bytes 2423344 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17486  bytes 11097191 (11.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 16353  bytes 2006231 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16353  bytes 2006231 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12531  bytes 2439498 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17744  bytes 11420959 (11.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 16393  bytes 2010149 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16393  bytes 2010149 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12598  bytes 2453957 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17831  bytes 11436293 (11.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 16530  bytes 2028809 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16530  bytes 2028809 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12615  bytes 2458639 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17853  bytes 11440576 (11.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 16550  bytes 2030175 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16550  bytes 2030175 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12762  bytes 2482148 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18098  bytes 11683297 (11.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 16684  bytes 2048703 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16684  bytes 2048703 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 12870  bytes 2495751 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18322  bytes 11977056 (11.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 16708  bytes 2050359 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16708  bytes 2050359 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13023  bytes 2518447 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18559  bytes 12221082 (12.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 16841  bytes 2068927 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16841  bytes 2068927 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13190  bytes 2543303 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18870  bytes 12569121 (12.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 16915  bytes 2074957 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 16915  bytes 2074957 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13359  bytes 2567223 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19175  bytes 12920535 (12.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 17044  bytes 2093095 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17044  bytes 2093095 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13376  bytes 2571905 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19197  bytes 12924818 (12.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 17070  bytes 2094927 (2.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17070  bytes 2094927 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13526  bytes 2595420 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19503  bytes 13269641 (13.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 17201  bytes 2113145 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17201  bytes 2113145 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13544  bytes 2600708 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19526  bytes 13274032 (13.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 17227  bytes 2116039 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17227  bytes 2116039 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13613  bytes 2615324 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19612  bytes 13289350 (13.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 17363  bytes 2134743 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17363  bytes 2134743 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13775  bytes 2631755 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19855  bytes 13612506 (13.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 17387  bytes 2136399 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17387  bytes 2136399 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13835  bytes 2645668 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19936  bytes 13628910 (13.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 17522  bytes 2154933 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17522  bytes 2154933 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 13851  bytes 2650254 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19958  bytes 13633165 (13.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 17540  bytes 2156171 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17540  bytes 2156171 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14007  bytes 2673608 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20253  bytes 13967083 (13.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 17682  bytes 2176355 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17682  bytes 2176355 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14269  bytes 2702291 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20562  bytes 14301753 (14.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 17744  bytes 2180459 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17744  bytes 2180459 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14323  bytes 2715717 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20636  bytes 14316176 (14.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 17876  bytes 2198777 (2.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17876  bytes 2198777 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14440  bytes 2730026 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20890  bytes 14648367 (14.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 17902  bytes 2200561 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 17902  bytes 2200561 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14491  bytes 2743268 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20964  bytes 14662769 (14.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 18030  bytes 2218695 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18030  bytes 2218695 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14604  bytes 2757690 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21217  bytes 14996095 (14.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 18062  bytes 2222007 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18062  bytes 2222007 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14750  bytes 2780387 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21502  bytes 15300475 (15.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 18203  bytes 2241041 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18203  bytes 2241041 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14884  bytes 2796329 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21808  bytes 15714848 (15.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 18227  bytes 2242697 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18227  bytes 2242697 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14943  bytes 2810322 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21884  bytes 15729482 (15.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 18355  bytes 2260869 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18355  bytes 2260869 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 14964  bytes 2815195 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21911  bytes 15734058 (15.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 18377  bytes 2262385 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18377  bytes 2262385 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15230  bytes 2846263 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22270  bytes 16158825 (16.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 18521  bytes 2282697 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18521  bytes 2282697 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15295  bytes 2859862 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22344  bytes 16172558 (16.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 18572  bytes 2286133 (2.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18572  bytes 2286133 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15356  bytes 2873831 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22424  bytes 16187436 (16.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 18711  bytes 2304864 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18711  bytes 2304864 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15374  bytes 2878497 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22447  bytes 16191733 (16.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 18729  bytes 2306102 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18729  bytes 2306102 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15543  bytes 2903031 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22810  bytes 16623859 (16.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 18860  bytes 2324438 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18860  bytes 2324438 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15563  bytes 2907821 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22835  bytes 16628300 (16.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 18880  bytes 2325804 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 18880  bytes 2325804 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15631  bytes 2922974 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22923  bytes 16643892 (16.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 19030  bytes 2346538 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19030  bytes 2346538 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15649  bytes 2927684 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22947  bytes 16648291 (16.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 19050  bytes 2347904 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19050  bytes 2347904 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15709  bytes 2941457 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23022  bytes 16662754 (16.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 19181  bytes 2366170 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19181  bytes 2366170 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15727  bytes 2946147 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23047  bytes 16667231 (16.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 19199  bytes 2367408 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19199  bytes 2367408 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15787  bytes 2960411 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23120  bytes 16681610 (16.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 19325  bytes 2386500 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19325  bytes 2386500 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 15810  bytes 2965613 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23157  bytes 16687153 (16.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 19361  bytes 2388906 (2.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19361  bytes 2388906 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16033  bytes 2998356 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23562  bytes 17130501 (17.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 19519  bytes 2409063 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19519  bytes 2409063 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16146  bytes 3013206 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23770  bytes 17394647 (17.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 19543  bytes 2410719 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19543  bytes 2410719 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16297  bytes 3036816 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24039  bytes 17684636 (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 19673  bytes 2429063 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19673  bytes 2429063 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16455  bytes 3054600 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24292  bytes 18011439 (18.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 19707  bytes 2432503 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19707  bytes 2432503 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16666  bytes 3084579 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24603  bytes 18344772 (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 19852  bytes 2451791 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19852  bytes 2451791 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16801  bytes 3101508 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24864  bytes 18684588 (18.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 19878  bytes 2453587 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 19878  bytes 2453587 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 16986  bytes 3130455 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25200  bytes 19074452 (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 20002  bytes 2471441 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20002  bytes 2471441 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17113  bytes 3145063 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25452  bytes 19401608 (19.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 20034  bytes 2473703 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20034  bytes 2473703 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17278  bytes 3170005 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25778  bytes 19772659 (19.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 20168  bytes 2493305 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20168  bytes 2493305 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17300  bytes 3175180 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25811  bytes 19778410 (19.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 20192  bytes 2495009 (2.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20192  bytes 2495009 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17489  bytes 3208002 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26130  bytes 20078146 (20.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 20372  bytes 2516427 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20372  bytes 2516427 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17508  bytes 3212776 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26155  bytes 20082619 (20.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 20392  bytes 2517805 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20392  bytes 2517805 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17566  bytes 3226406 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26224  bytes 20096684 (20.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 20507  bytes 2535085 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20507  bytes 2535085 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17680  bytes 3241962 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26439  bytes 20361485 (20.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 20545  bytes 2538863 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20545  bytes 2538863 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 17842  bytes 3265203 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26742  bytes 20701227 (20.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 20682  bytes 2557595 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20682  bytes 2557595 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18085  bytes 3291790 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27175  bytes 21282612 (21.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 20718  bytes 2560135 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20718  bytes 2560135 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18268  bytes 3316379 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27509  bytes 21672563 (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 20846  bytes 2578161 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20846  bytes 2578161 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18286  bytes 3321120 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27538  bytes 21677310 (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 20870  bytes 2579865 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 20870  bytes 2579865 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18430  bytes 3344076 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27799  bytes 21962499 (21.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 21006  bytes 2599653 (2.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21006  bytes 2599653 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18550  bytes 3362148 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28053  bytes 22273516 (22.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 21038  bytes 2601915 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21038  bytes 2601915 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18648  bytes 3384121 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28171  bytes 22296932 (22.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 21185  bytes 2621258 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21185  bytes 2621258 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18665  bytes 3388803 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28198  bytes 22301584 (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 21213  bytes 2623194 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21213  bytes 2623194 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18864  bytes 3414427 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28472  bytes 22598374 (22.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 21340  bytes 2641204 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21340  bytes 2641204 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 18979  bytes 3429856 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28687  bytes 22866813 (22.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 21378  bytes 2644982 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21378  bytes 2644982 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19139  bytes 3453338 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28985  bytes 23198132 (23.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 21517  bytes 2663758 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21517  bytes 2663758 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19277  bytes 3468798 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29278  bytes 23583071 (23.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 21551  bytes 2666174 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21551  bytes 2666174 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19441  bytes 3495962 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29591  bytes 23941425 (23.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 21681  bytes 2684376 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21681  bytes 2684376 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19578  bytes 3512088 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29854  bytes 24281762 (24.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 21713  bytes 2686626 (2.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21713  bytes 2686626 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19754  bytes 3536967 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30177  bytes 24659740 (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 21843  bytes 2704792 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21843  bytes 2704792 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 19912  bytes 3554002 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30475  bytes 25049044 (25.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 21885  bytes 2708838 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 21885  bytes 2708838 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20107  bytes 3585116 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30816  bytes 25398819 (25.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 22042  bytes 2728757 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22042  bytes 2728757 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20248  bytes 3600419 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31091  bytes 25761195 (25.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 22081  bytes 2731398 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22081  bytes 2731398 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20311  bytes 3614817 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31164  bytes 25775641 (25.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 22207  bytes 2749250 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22207  bytes 2749250 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20332  bytes 3620213 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31193  bytes 25780412 (25.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 22239  bytes 2752610 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22239  bytes 2752610 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20393  bytes 3634208 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31272  bytes 25795177 (25.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 22365  bytes 2770628 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22365  bytes 2770628 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20411  bytes 3638930 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31299  bytes 25799799 (25.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 22391  bytes 2772472 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22391  bytes 2772472 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20472  bytes 3652969 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31378  bytes 25814573 (25.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 22518  bytes 2790376 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22518  bytes 2790376 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20490  bytes 3657635 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31408  bytes 25819381 (25.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 22542  bytes 2792080 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22542  bytes 2792080 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20555  bytes 3672386 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31491  bytes 25834579 (25.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 22681  bytes 2811884 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22681  bytes 2811884 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20578  bytes 3677553 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31518  bytes 25839256 (25.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 22701  bytes 2813250 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22701  bytes 2813250 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20732  bytes 3700354 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31795  bytes 26138425 (26.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 22840  bytes 2832116 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22840  bytes 2832116 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 20933  bytes 3725875 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32133  bytes 26538791 (26.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 22900  bytes 2836240 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 22900  bytes 2836240 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21131  bytes 3751031 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32482  bytes 26954602 (26.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 23029  bytes 2854354 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23029  bytes 2854354 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21294  bytes 3769063 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32792  bytes 27369415 (27.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 23067  bytes 2858132 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23067  bytes 2858132 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21486  bytes 3794453 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33143  bytes 27767788 (27.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 23208  bytes 2877106 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23208  bytes 2877106 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21681  bytes 3813488 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33438  bytes 28165132 (28.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 23240  bytes 2879356 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23240  bytes 2879356 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 21943  bytes 3842056 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33802  bytes 28603533 (28.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 23362  bytes 2897070 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23362  bytes 2897070 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22091  bytes 3857799 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34109  bytes 29019942 (29.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 23386  bytes 2898726 (2.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23386  bytes 2898726 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22295  bytes 3884843 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34479  bytes 29451758 (29.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 23532  bytes 2919164 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23532  bytes 2919164 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22459  bytes 3901789 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34820  bytes 29912414 (29.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 23556  bytes 2920820 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23556  bytes 2920820 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22755  bytes 3932982 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35213  bytes 30386213 (30.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 23692  bytes 2939476 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23692  bytes 2939476 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 22915  bytes 3955515 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35513  bytes 30733884 (30.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 23760  bytes 2944009 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23760  bytes 2944009 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23061  bytes 3978071 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35770  bytes 31006584 (31.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 23891  bytes 2962263 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23891  bytes 2962263 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
b'Error on request'
Token ad008dc7a28db4d91ca57b4c305a3b85 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/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23202  bytes 3993960 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36045  bytes 31373881 (31.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 23925  bytes 2965703 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 23925  bytes 2965703 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23263  bytes 4007959 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36129  bytes 31389036 (31.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 24062  bytes 2984423 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24062  bytes 2984423 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23280  bytes 4012641 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36151  bytes 31393320 (31.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 24082  bytes 2985789 (2.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24082  bytes 2985789 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson
    nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite
    logger.info("erreur : ", str(e))
Message: 'erreur : '
Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'",)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    msg = self.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
    return fmt.format(record)
  File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson
    logger.info('ip: ', ip[:22])
Message: 'ip: '
Arguments: ('192.168.8.100-172.17.0',)
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23337  bytes 4026258 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36231  bytes 31408227 (31.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 24213  bytes 3004081 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24213  bytes 3004081 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '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:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23358  bytes 4031817 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36261  bytes 31413134 (31.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 24241  bytes 3006051 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24241  bytes 3006051 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23379  bytes 4037624 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36303  bytes 31418911 (31.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 24283  bytes 3010153 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24283  bytes 3010153 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9aacf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aacf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aacf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23401  bytes 4043082 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36338  bytes 31424199 (31.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 24307  bytes 3011827 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24307  bytes 3011827 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f802402e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802402e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802402e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23422  bytes 4048401 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36374  bytes 31429535 (31.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 24339  bytes 3014095 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24339  bytes 3014095 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f0982e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f0982e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f0982e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23484  bytes 4062126 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36450  bytes 31443380 (31.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 24403  bytes 3018343 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24403  bytes 3018343 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f999872e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999872e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999872e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23502  bytes 4067156 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36483  bytes 31448506 (31.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 24435  bytes 3020587 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24435  bytes 3020587 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa2bdd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2bdd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2bdd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23523  bytes 4072975 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36516  bytes 31453624 (31.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 24469  bytes 3024057 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24469  bytes 3024057 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f930822e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f930822e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f930822e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23551  bytes 4078908 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36561  bytes 31459635 (31.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 24509  bytes 3026953 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24509  bytes 3026953 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9aace2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aace2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aace2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23569  bytes 4083934 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36589  bytes 31464371 (31.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 24535  bytes 3028755 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24535  bytes 3028755 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f896e82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896e82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896e82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23588  bytes 4088988 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36621  bytes 31469378 (31.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 24567  bytes 3031023 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24567  bytes 3031023 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ffb62e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ffb62e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ffb62e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23606  bytes 4094002 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36651  bytes 31474229 (31.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 24593  bytes 3032837 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24593  bytes 3032837 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98d42320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98d42320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98d42320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23627  bytes 4099734 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36688  bytes 31479588 (31.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 24633  bytes 3036761 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24633  bytes 3036761 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c060320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c060320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c060320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23649  bytes 4105149 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36722  bytes 31484799 (31.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 24659  bytes 3038575 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24659  bytes 3038575 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cc712e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cc712e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cc712e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23666  bytes 4110079 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36753  bytes 31489729 (31.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 24689  bytes 3040715 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24689  bytes 3040715 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8b0042e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b0042e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b0042e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23725  bytes 4123526 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36830  bytes 31503834 (31.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 24746  bytes 3044576 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24746  bytes 3044576 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb14262e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb14262e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb14262e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23742  bytes 4128480 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36866  bytes 31509374 (31.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 24785  bytes 3047235 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24785  bytes 3047235 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac31c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac31c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac31c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23763  bytes 4134200 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36900  bytes 31514679 (31.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 24817  bytes 3050565 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24817  bytes 3050565 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8727b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8727b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8727b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23788  bytes 4139851 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36939  bytes 31520148 (31.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 24855  bytes 3053299 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24855  bytes 3053299 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92e97278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92e97278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92e97278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23804  bytes 4144777 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36966  bytes 31524844 (31.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 24879  bytes 3054973 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24879  bytes 3054973 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8470e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8470e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8470e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23824  bytes 4150024 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37000  bytes 31530053 (31.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 24909  bytes 3057113 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24909  bytes 3057113 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f78e6e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78e6e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78e6e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23844  bytes 4155130 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37031  bytes 31534966 (31.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 24935  bytes 3058915 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24935  bytes 3058915 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa684c278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa684c278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa684c278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23863  bytes 4160762 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37062  bytes 31539957 (31.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 24973  bytes 3062711 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 24973  bytes 3062711 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8c79e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c79e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c79e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23886  bytes 4166363 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37099  bytes 31545426 (31.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 25001  bytes 3064675 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25001  bytes 3064675 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87e9f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87e9f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87e9f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23904  bytes 4171369 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37128  bytes 31550198 (31.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 25025  bytes 3066349 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25025  bytes 3066349 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f78d5a320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78d5a320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78d5a320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23925  bytes 4176551 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37164  bytes 31555632 (31.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 25065  bytes 3069063 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25065  bytes 3069063 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f793f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f793f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f793f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 23982  bytes 4189916 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37249  bytes 31570318 (31.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 25125  bytes 3073167 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25125  bytes 3073167 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cd392e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cd392e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cd392e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24001  bytes 4195524 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37281  bytes 31575403 (31.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 25157  bytes 3076497 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25157  bytes 3076497 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa828f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa828f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa828f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24029  bytes 4201396 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37324  bytes 31581624 (31.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 25197  bytes 3079359 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25197  bytes 3079359 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8934a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8934a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8934a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24047  bytes 4206434 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37355  bytes 31586562 (31.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 25223  bytes 3081173 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25223  bytes 3081173 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81ddd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81ddd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81ddd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24066  bytes 4211468 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37384  bytes 31591304 (31.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 25247  bytes 3082847 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25247  bytes 3082847 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89d95278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89d95278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89d95278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24084  bytes 4216450 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37417  bytes 31596382 (31.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 25279  bytes 3085143 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25279  bytes 3085143 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97b302e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97b302e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97b302e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24103  bytes 4221518 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37448  bytes 31601282 (31.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 25305  bytes 3086973 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25305  bytes 3086973 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f771a12e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f771a12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f771a12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24129  bytes 4227742 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37491  bytes 31607200 (31.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 25347  bytes 3091063 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25347  bytes 3091063 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa2be72e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2be72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2be72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24146  bytes 4232672 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37519  bytes 31611908 (31.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 25371  bytes 3092737 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25371  bytes 3092737 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f7712e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f7712e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f7712e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24167  bytes 4237862 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37554  bytes 31617125 (31.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 25405  bytes 3095145 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25405  bytes 3095145 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b6852e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b6852e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b6852e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24228  bytes 4251578 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37643  bytes 31632255 (31.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 25473  bytes 3099697 (3.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25473  bytes 3099697 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86d2d320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86d2d320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86d2d320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24247  bytes 4257210 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37676  bytes 31637499 (31.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 25505  bytes 3103027 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25505  bytes 3103027 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88c40320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88c40320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88c40320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24270  bytes 4262761 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37712  bytes 31642862 (31.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 25537  bytes 3105283 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25537  bytes 3105283 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa87d82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa87d82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa87d82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24287  bytes 4267715 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37746  bytes 31648006 (31.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 25567  bytes 3107423 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25567  bytes 3107423 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24309  bytes 4273363 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37779  bytes 31653112 (31.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 25595  bytes 3109365 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25595  bytes 3109365 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ce92278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ce92278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ce92278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24327  bytes 4278428 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37813  bytes 31658279 (31.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 25625  bytes 3111505 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25625  bytes 3111505 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa295e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa295e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa295e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24347  bytes 4283570 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37846  bytes 31663355 (31.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 25655  bytes 3113619 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25655  bytes 3113619 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f892652e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f892652e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f892652e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24371  bytes 4289690 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37883  bytes 31668831 (31.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 25691  bytes 3117265 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25691  bytes 3117265 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cbd12e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cbd12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cbd12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24387  bytes 4294592 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37909  bytes 31673431 (31.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 25715  bytes 3118939 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25715  bytes 3118939 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa2a4b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2a4b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2a4b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24405  bytes 4299574 (4.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37943  bytes 31678543 (31.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 25745  bytes 3121079 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25745  bytes 3121079 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad6f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad6f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad6f82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24466  bytes 4313230 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38024  bytes 31693101 (31.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 25809  bytes 3125354 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25809  bytes 3125354 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f801772e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f801772e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f801772e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24487  bytes 4319006 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38065  bytes 31698984 (31.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 25851  bytes 3129394 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25851  bytes 3129394 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f3b82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f3b82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f3b82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24516  bytes 4324971 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38103  bytes 31704418 (31.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 25885  bytes 3131812 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25885  bytes 3131812 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa5e102e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5e102e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5e102e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24533  bytes 4329925 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38135  bytes 31709454 (31.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 25915  bytes 3133952 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25915  bytes 3133952 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faca9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faca9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faca9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24551  bytes 4334931 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38162  bytes 31714120 (31.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 25939  bytes 3135626 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25939  bytes 3135626 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fadd1c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadd1c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadd1c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24568  bytes 4339861 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38194  bytes 31719124 (31.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 25969  bytes 3137766 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25969  bytes 3137766 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87af22e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87af22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87af22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24587  bytes 4345072 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38223  bytes 31723963 (31.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 25993  bytes 3139440 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 25993  bytes 3139440 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac0c12e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac0c12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac0c12e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24612  bytes 4351221 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38263  bytes 31729640 (31.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 26035  bytes 3143504 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26035  bytes 3143504 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d47d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d47d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d47d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24631  bytes 4356275 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38293  bytes 31734492 (31.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 26061  bytes 3145306 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26061  bytes 3145306 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80fce2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80fce2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80fce2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24648  bytes 4361205 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38323  bytes 31739348 (31.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 26091  bytes 3147446 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26091  bytes 3147446 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4d1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4d1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4d1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24709  bytes 4374685 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38402  bytes 31753570 (31.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 26144  bytes 3151012 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26144  bytes 3151012 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f9ec2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f9ec2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f9ec2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24734  bytes 4380881 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38448  bytes 31759933 (31.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 26191  bytes 3155327 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26191  bytes 3155327 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7eca32e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7eca32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7eca32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24756  bytes 4386187 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38482  bytes 31765100 (31.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 26223  bytes 3157595 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26223  bytes 3157595 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f978542e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f978542e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f978542e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24774  bytes 4391193 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38514  bytes 31770115 (31.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 26253  bytes 3159735 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26253  bytes 3159735 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91c5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91c5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91c5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24793  bytes 4396247 (4.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38544  bytes 31774966 (31.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 26279  bytes 3161537 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26279  bytes 3161537 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d379320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d379320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d379320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24814  bytes 4403086 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38581  bytes 31780292 (31.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 26309  bytes 3163677 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26309  bytes 3163677 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7829a278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7829a278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7829a278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24836  bytes 4408916 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38618  bytes 31785658 (31.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 26345  bytes 3167303 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26345  bytes 3167303 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9be3278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9be3278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9be3278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24860  bytes 4414470 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38654  bytes 31791000 (31.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 26377  bytes 3169609 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26377  bytes 3169609 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa50282e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa50282e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa50282e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24879  bytes 4419548 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38688  bytes 31796140 (31.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 26403  bytes 3171411 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26403  bytes 3171411 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb51a42e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb51a42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb51a42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24897  bytes 4424530 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38715  bytes 31800782 (31.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 26427  bytes 3173085 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26427  bytes 3173085 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f999672e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 24917  bytes 4429672 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38752  bytes 31806376 (31.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 26467  bytes 3175799 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26467  bytes 3175799 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fb282e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fb282e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fb282e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25058  bytes 4452083 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39009  bytes 32025913 (32.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 26549  bytes 3182554 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26549  bytes 3182554 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5170278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5170278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5170278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25083  bytes 4457751 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39049  bytes 32031597 (32.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 26579  bytes 3184682 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26579  bytes 3184682 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cde02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cde02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cde02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25102  bytes 4462785 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39083  bytes 32036689 (32.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 26609  bytes 3186822 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26609  bytes 3186822 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2096278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2096278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2096278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25193  bytes 4475490 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39276  bytes 32234071 (32.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 26647  bytes 3189478 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26647  bytes 3189478 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f876fe2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f876fe2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f876fe2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25213  bytes 4480628 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39306  bytes 32238919 (32.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 26675  bytes 3191420 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26675  bytes 3191420 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a7e2278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a7e2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a7e2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25294  bytes 4493367 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39475  bytes 32400060 (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 26725  bytes 3196070 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26725  bytes 3196070 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8bf3a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bf3a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bf3a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25317  bytes 4498869 (4.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39512  bytes 32405492 (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 26753  bytes 3198034 (3.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26753  bytes 3198034 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa08992e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa08992e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa08992e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25339  bytes 4504162 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39560  bytes 32411711 (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 26797  bytes 3201262 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26797  bytes 3201262 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0e942e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0e942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0e942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25484  bytes 4519711 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39870  bytes 32776004 (32.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 26835  bytes 3203930 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26835  bytes 3203930 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f834692e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f834692e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f834692e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25502  bytes 4524713 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39904  bytes 32781152 (32.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 26867  bytes 3206198 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26867  bytes 3206198 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f4342e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f4342e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f4342e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25935  bytes 4562083 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40738  bytes 33846761 (33.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 26959  bytes 3213580 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26959  bytes 3213580 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c5cb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c5cb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c5cb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25962  bytes 4567878 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40781  bytes 33852733 (33.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 26991  bytes 3215848 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 26991  bytes 3215848 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f956672e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f956672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f956672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 25979  bytes 4572856 (4.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 40806  bytes 33857289 (33.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 27015  bytes 3217522 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27015  bytes 3217522 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0ba02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0ba02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0ba02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26370  bytes 4601185 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41602  bytes 34935566 (34.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 27059  bytes 3220644 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27059  bytes 3220644 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf814278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf814278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf814278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26387  bytes 4606115 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 41631  bytes 34940347 (34.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 27083  bytes 3222318 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27083  bytes 3222318 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa27b32e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa27b32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa27b32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26770  bytes 4634838 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42429  bytes 36011616 (36.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 27135  bytes 3227108 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27135  bytes 3227108 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cceb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cceb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cceb2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26794  bytes 4640432 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42469  bytes 36017259 (36.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 27161  bytes 3228910 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27161  bytes 3228910 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faff8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faff8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faff8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 26815  bytes 4645673 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 42503  bytes 36022420 (36.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 27193  bytes 3231178 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27193  bytes 3231178 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f802df2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802df2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802df2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27279  bytes 4677754 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43449  bytes 37337909 (37.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 27229  bytes 3233706 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27229  bytes 3233706 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb151b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb151b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb151b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27299  bytes 4683125 (4.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 43487  bytes 37343332 (37.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 27261  bytes 3235986 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27261  bytes 3235986 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab5972e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab5972e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab5972e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27828  bytes 4725539 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44494  bytes 38682251 (38.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 27341  bytes 3242477 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27341  bytes 3242477 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f77c7b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77c7b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77c7b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27854  bytes 4731356 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44541  bytes 38688549 (38.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 27381  bytes 3245337 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27381  bytes 3245337 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c857320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c857320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c857320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 27872  bytes 4736382 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 44569  bytes 38693286 (38.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 27407  bytes 3247139 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27407  bytes 3247139 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faaa4a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faaa4a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faaa4a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28476  bytes 4775775 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45610  bytes 40142482 (40.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 27451  bytes 3250273 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27451  bytes 3250273 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f84bab278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84bab278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84bab278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28497  bytes 4780933 (4.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 45641  bytes 40147401 (40.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 27477  bytes 3252075 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27477  bytes 3252075 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f923c1320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f923c1320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f923c1320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 28981  bytes 4814950 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46644  bytes 41562530 (41.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 27529  bytes 3256875 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27529  bytes 3256875 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fef2278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fef2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fef2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29003  bytes 4820337 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46680  bytes 41567885 (41.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 27553  bytes 3258549 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27553  bytes 3258549 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f884632e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884632e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884632e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29023  bytes 4825438 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 46713  bytes 41572946 (41.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 27585  bytes 3260855 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27585  bytes 3260855 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f809c02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f809c02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f809c02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29506  bytes 4858784 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47656  bytes 42866455 (42.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 27621  bytes 3263383 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27621  bytes 3263383 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f888d8278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f888d8278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f888d8278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 29527  bytes 4863974 (4.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 47692  bytes 42871688 (42.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 27655  bytes 3265791 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27655  bytes 3265791 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7f2d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7f2d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7f2d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30113  bytes 4909631 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48762  bytes 44294723 (44.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 27730  bytes 3272008 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27730  bytes 3272008 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e0792e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e0792e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e0792e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30139  bytes 4915364 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 48809  bytes 44301011 (44.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 27775  bytes 3275120 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27775  bytes 3275120 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb22c32b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb22c32b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb22c32b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30598  bytes 4947229 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49754  bytes 45616658 (45.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 27811  bytes 3277648 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27811  bytes 3277648 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e8762e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e8762e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e8762e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30618  bytes 4952458 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49790  bytes 45622382 (45.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 27841  bytes 3279788 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27841  bytes 3279788 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8749b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8749b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8749b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 30636  bytes 4957440 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 49819  bytes 45627165 (45.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 27865  bytes 3281462 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27865  bytes 3281462 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87b532e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87b532e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87b532e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31144  bytes 4992526 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50731  bytes 46862562 (46.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 27919  bytes 3286380 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27919  bytes 3286380 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ac8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ac8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ac8a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31165  bytes 4997861 (4.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 50767  bytes 46867917 (46.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 27943  bytes 3288054 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27943  bytes 3288054 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f979352e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f979352e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f979352e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31657  bytes 5031458 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51774  bytes 48276112 (48.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 27985  bytes 3291048 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 27985  bytes 3291048 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ecc22e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ecc22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ecc22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31674  bytes 5036432 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51808  bytes 48281293 (48.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 28011  bytes 3292850 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28011  bytes 3292850 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa08512e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa08512e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa08512e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 31693  bytes 5041542 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 51839  bytes 48286208 (48.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 28039  bytes 3294792 (3.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28039  bytes 3294792 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa95f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa95f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa95f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32247  bytes 5078921 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52844  bytes 49672399 (49.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 28099  bytes 3300017 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28099  bytes 3300017 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f932482e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f932482e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f932482e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32317  bytes 5093537 (5.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 52946  bytes 49688391 (49.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 28173  bytes 3305200 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28173  bytes 3305200 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb60de2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb60de2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb60de2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32926  bytes 5133459 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 53989  bytes 51141390 (51.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 28209  bytes 3307728 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28209  bytes 3307728 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e5582e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e5582e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e5582e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32945  bytes 5138549 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54020  bytes 51146357 (51.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 28241  bytes 3310008 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28241  bytes 3310008 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cc422e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc422e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc422e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 32967  bytes 5144141 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 54056  bytes 51151930 (51.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 28267  bytes 3311810 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28267  bytes 3311810 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1290278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1290278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1290278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33479  bytes 5178718 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55042  bytes 52539691 (52.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 28307  bytes 3314638 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28307  bytes 3314638 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa961e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa961e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa961e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 33505  bytes 5185017 (5.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 55085  bytes 52545574 (52.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 28345  bytes 3318428 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28345  bytes 3318428 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa088278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa088278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa088278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34063  bytes 5222064 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56082  bytes 53928079 (53.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 28381  bytes 3320956 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28381  bytes 3320956 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e945278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e945278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e945278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34084  bytes 5227230 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56121  bytes 53933541 (53.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 28415  bytes 3323364 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28415  bytes 3323364 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f969f0278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f969f0278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f969f0278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34102  bytes 5232236 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 56150  bytes 53938315 (53.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 28439  bytes 3325038 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28439  bytes 3325038 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95c86320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95c86320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95c86320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34538  bytes 5263747 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57050  bytes 55159539 (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 28489  bytes 3329688 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28489  bytes 3329688 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76d6a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76d6a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76d6a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 34606  bytes 5277959 (5.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 57138  bytes 55174649 (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 28563  bytes 3334693 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28563  bytes 3334693 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f949722e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f949722e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f949722e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35145  bytes 5314008 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58156  bytes 56554103 (56.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 28601  bytes 3337349 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28601  bytes 3337349 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf2672e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf2672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf2672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35164  bytes 5319098 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58186  bytes 56558988 (56.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 28627  bytes 3339163 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28627  bytes 3339163 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96647320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96647320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96647320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35182  bytes 5324104 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 58220  bytes 56564133 (56.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 28657  bytes 3341303 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28657  bytes 3341303 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8edcf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8edcf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8edcf2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35730  bytes 5361182 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59181  bytes 57899542 (57.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 28703  bytes 3345637 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28703  bytes 3345637 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa37bd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa37bd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa37bd2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 35753  bytes 5366796 (5.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 59222  bytes 57905251 (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 28733  bytes 3347777 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28733  bytes 3347777 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8896a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8896a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8896a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36287  bytes 5402826 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60229  bytes 59312052 (59.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 28771  bytes 3350433 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28771  bytes 3350433 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f1a82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f1a82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f1a82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36306  bytes 5407916 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60263  bytes 59317233 (59.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 28803  bytes 3352713 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28803  bytes 3352713 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0ed72e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0ed72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0ed72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36326  bytes 5413058 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 60294  bytes 59322176 (59.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 28829  bytes 3354527 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28829  bytes 3354527 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9fbc92e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fbc92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fbc92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36914  bytes 5452195 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61290  bytes 60700431 (60.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 28881  bytes 3359333 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28881  bytes 3359333 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb282c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb282c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb282c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 36979  bytes 5466862 (5.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 61379  bytes 60715734 (60.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 28947  bytes 3363769 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28947  bytes 3363769 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95a50278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95a50278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95a50278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37595  bytes 5508873 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62406  bytes 62164341 (62.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 28993  bytes 3366995 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 28993  bytes 3366995 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f967162e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f967162e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f967162e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37612  bytes 5513803 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62436  bytes 62169197 (62.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 29017  bytes 3368669 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29017  bytes 3368669 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81c9d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 37631  bytes 5518869 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 62469  bytes 62174279 (62.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 29049  bytes 3370949 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29049  bytes 3370949 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9682a320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9682a320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9682a320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38094  bytes 5550934 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63421  bytes 63495065 (63.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 29089  bytes 3373777 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29089  bytes 3373777 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa2361320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2361320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2361320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38120  bytes 5557186 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 63460  bytes 63500658 (63.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 29123  bytes 3377273 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29123  bytes 3377273 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac5ff2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac5ff2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac5ff2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38742  bytes 5599059 (5.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64495  bytes 64965503 (64.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 29161  bytes 3379929 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29161  bytes 3379929 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa05c72e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa05c72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa05c72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38762  bytes 5604398 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64529  bytes 64970668 (64.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 29191  bytes 3382069 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29191  bytes 3382069 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e7d02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e7d02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e7d02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 38782  bytes 5609516 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 64559  bytes 64975521 (64.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 29217  bytes 3383883 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29217  bytes 3383883 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f980942e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f980942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f980942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39266  bytes 5643424 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65547  bytes 66337353 (66.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 29269  bytes 3388661 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29269  bytes 3388661 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8105e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8105e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8105e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39340  bytes 5659621 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 65640  bytes 66352928 (66.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 29332  bytes 3392975 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29332  bytes 3392975 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d3f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d3f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d3f32e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39854  bytes 5694758 (5.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66611  bytes 67692171 (67.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 29383  bytes 3396488 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29383  bytes 3396488 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4bcc320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4bcc320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4bcc320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39876  bytes 5700183 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66645  bytes 67697680 (67.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 29409  bytes 3398290 (3.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29409  bytes 3398290 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f911e92e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f911e92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f911e92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 39894  bytes 5705165 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 66677  bytes 67702683 (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 29439  bytes 3400430 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29439  bytes 3400430 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f886d3320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f886d3320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f886d3320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40381  bytes 5739068 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67618  bytes 68997565 (68.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 29487  bytes 3404882 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29487  bytes 3404882 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f79fa8320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79fa8320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79fa8320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40406  bytes 5744646 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 67657  bytes 69003129 (69.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 29523  bytes 3407466 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29523  bytes 3407466 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa93722e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa93722e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa93722e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40897  bytes 5778261 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68582  bytes 70278143 (70.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 29561  bytes 3410144 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29561  bytes 3410144 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa47f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa47f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa47f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40917  bytes 5783445 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68615  bytes 70283217 (70.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 29587  bytes 3411946 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29587  bytes 3411946 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa3a942e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3a942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3a942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 40935  bytes 5788447 (5.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 68648  bytes 70288299 (70.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 29619  bytes 3414214 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29619  bytes 3414214 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa6392e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa6392e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa6392e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41436  bytes 5823279 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69591  bytes 71587665 (71.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 29665  bytes 3418538 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29665  bytes 3418538 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96d542e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96d542e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96d542e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41467  bytes 5829340 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 69640  bytes 71594114 (71.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 29715  bytes 3422008 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29715  bytes 3422008 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb3117278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3117278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3117278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 41994  bytes 5871025 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70625  bytes 72895320 (72.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 29785  bytes 3426838 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29785  bytes 3426838 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa68672e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa68672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa68672e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42015  bytes 5876183 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70658  bytes 72900447 (72.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 29811  bytes 3428640 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29811  bytes 3428640 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf9022e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf9022e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf9022e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42037  bytes 5881646 (5.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 70693  bytes 72905614 (72.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 29843  bytes 3430908 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29843  bytes 3430908 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80d822e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80d822e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80d822e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42573  bytes 5918045 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71695  bytes 74300150 (74.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 29887  bytes 3435092 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29887  bytes 3435092 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e59e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e59e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e59e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 42596  bytes 5923516 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71730  bytes 74305428 (74.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 29913  bytes 3436906 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29913  bytes 3436906 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f79224320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79224320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79224320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43068  bytes 5956045 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72687  bytes 75621589 (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 29957  bytes 3440040 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29957  bytes 3440040 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa948c278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa948c278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa948c278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43085  bytes 5961019 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72717  bytes 75626473 (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 29983  bytes 3441842 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 29983  bytes 3441842 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90c9d278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90c9d278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90c9d278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43105  bytes 5966358 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72753  bytes 75631738 (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 30013  bytes 3443982 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30013  bytes 3443982 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76f7b320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f7b320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f7b320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43125  bytes 5972295 (5.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 72783  bytes 75636661 (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 30045  bytes 3447312 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30045  bytes 3447312 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f896be2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896be2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896be2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43690  bytes 6009970 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73836  bytes 77050230 (77.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 30097  bytes 3451066 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30097  bytes 3451066 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac8a02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac8a02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac8a02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 43752  bytes 6024716 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 73922  bytes 77065195 (77.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 30169  bytes 3455886 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30169  bytes 3455886 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76f0e278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f0e278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f0e278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44250  bytes 6058766 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74943  bytes 78482875 (78.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 30205  bytes 3458414 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30205  bytes 3458414 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80a1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80a1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80a1a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44268  bytes 6063772 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 74972  bytes 78487690 (78.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 30229  bytes 3460088 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30229  bytes 3460088 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1cef2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1cef2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1cef2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44291  bytes 6069576 (6.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 75009  bytes 78493067 (78.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 30267  bytes 3463884 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30267  bytes 3463884 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa189d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa189d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa189d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44812  bytes 6104842 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76014  bytes 79877603 (79.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 30303  bytes 3466412 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30303  bytes 3466412 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88b562e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88b562e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88b562e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 44831  bytes 6109928 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76049  bytes 79882830 (79.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 30337  bytes 3468820 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30337  bytes 3468820 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7bba42e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7bba42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7bba42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45390  bytes 6147318 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 76985  bytes 81158373 (81.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 30375  bytes 3471476 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30375  bytes 3471476 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac90e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac90e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac90e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45411  bytes 6152559 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77022  bytes 81163739 (81.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 30407  bytes 3473744 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30407  bytes 3473744 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa09cc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa09cc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa09cc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45432  bytes 6158291 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 77053  bytes 81168704 (81.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 30441  bytes 3477202 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30441  bytes 3477202 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb33592e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb33592e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb33592e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45915  bytes 6191755 (6.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78054  bytes 82531306 (82.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 30491  bytes 3480812 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30491  bytes 3480812 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93a0d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93a0d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93a0d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 45987  bytes 6206652 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 78142  bytes 82547742 (82.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 30557  bytes 3485228 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30557  bytes 3485228 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f5a2278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5a2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5a2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46485  bytes 6241063 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79094  bytes 83820061 (83.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 30603  bytes 3488466 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30603  bytes 3488466 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7bd222e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7bd222e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7bd222e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46504  bytes 6246394 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79127  bytes 83825156 (83.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 30629  bytes 3490268 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30629  bytes 3490268 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f906012e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f906012e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f906012e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 46526  bytes 6252443 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 79165  bytes 83830635 (83.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 30669  bytes 3494204 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30669  bytes 3494204 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85f84278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85f84278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85f84278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47004  bytes 6285449 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80142  bytes 85188794 (85.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 30705  bytes 3496732 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30705  bytes 3496732 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb3e812e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3e812e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3e812e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47025  bytes 6290646 (6.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 80177  bytes 85194032 (85.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 30739  bytes 3499166 (3.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30739  bytes 3499166 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f882402e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f882402e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f882402e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47513  bytes 6324339 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81159  bytes 86549494 (86.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 30775  bytes 3501694 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30775  bytes 3501694 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9381e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9381e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9381e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47535  bytes 6329702 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81199  bytes 86555051 (86.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 30807  bytes 3503962 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30807  bytes 3503962 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb54732e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb54732e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb54732e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 47555  bytes 6335362 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 81231  bytes 86560086 (86.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 30839  bytes 3507292 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30839  bytes 3507292 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d8c82e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d8c82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d8c82e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48008  bytes 6367180 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82160  bytes 87826678 (87.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 30889  bytes 3510880 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30889  bytes 3510880 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa52bc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa52bc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa52bc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48067  bytes 6380560 (6.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 82236  bytes 87840647 (87.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 30942  bytes 3514446 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30942  bytes 3514446 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa664c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa664c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa664c2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48588  bytes 6415858 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83248  bytes 89227306 (89.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 30993  bytes 3517959 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 30993  bytes 3517959 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa63002e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa63002e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa63002e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48607  bytes 6420912 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83280  bytes 89232307 (89.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 31019  bytes 3519761 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31019  bytes 3519761 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9310d278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9310d278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9310d278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 48630  bytes 6426870 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 83318  bytes 89237887 (89.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 31057  bytes 3523557 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31057  bytes 3523557 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80c2a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80c2a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80c2a2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49125  bytes 6460780 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84287  bytes 90585447 (90.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 31093  bytes 3526085 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31093  bytes 3526085 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8382e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8382e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8382e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49146  bytes 6466033 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 84321  bytes 90590611 (90.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 31125  bytes 3528365 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31125  bytes 3528365 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f774fc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f774fc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f774fc2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49628  bytes 6499600 (6.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85312  bytes 91968492 (91.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 31163  bytes 3531021 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31163  bytes 3531021 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f964032e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f964032e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f964032e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49645  bytes 6504554 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85340  bytes 91973233 (91.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 31187  bytes 3532695 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31187  bytes 3532695 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6dd02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6dd02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6dd02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 49670  bytes 6510850 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 85381  bytes 91978993 (91.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 31225  bytes 3536491 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31225  bytes 3536491 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f831902e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f831902e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f831902e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50213  bytes 6547282 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86396  bytes 93386366 (93.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 31275  bytes 3540063 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31275  bytes 3540063 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fb942e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fb942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fb942e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50234  bytes 6552551 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 86433  bytes 93391928 (93.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 31319  bytes 3543068 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31319  bytes 3543068 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f819f22e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f819f22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f819f22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50842  bytes 6598601 (6.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87490  bytes 94790522 (94.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 31393  bytes 3548183 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31393  bytes 3548183 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab0ea2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab0ea2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab0ea2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50862  bytes 6603707 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87524  bytes 94795723 (94.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 31419  bytes 3549985 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31419  bytes 3549985 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5b222e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5b222e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5b222e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 50884  bytes 6609648 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 87558  bytes 94800962 (94.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 31457  bytes 3553781 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31457  bytes 3553781 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93d6d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93d6d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93d6d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51406  bytes 6644962 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88509  bytes 96116909 (96.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 31493  bytes 3556309 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31493  bytes 3556309 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89ce72e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89ce72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89ce72e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51428  bytes 6650423 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88542  bytes 96122162 (96.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 31519  bytes 3558123 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31519  bytes 3558123 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa11f320>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa11f320>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa11f320>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51943  bytes 6685409 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89500  bytes 97445685 (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 31561  bytes 3561117 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31561  bytes 3561117 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1196278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1196278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1196278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51962  bytes 6690740 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89531  bytes 97450648 (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 31587  bytes 3562919 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31587  bytes 3562919 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f860c22e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f860c22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f860c22e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 51981  bytes 6695794 (6.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 89570  bytes 97456153 (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 31623  bytes 3565487 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31623  bytes 3565487 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ab5f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ab5f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ab5f2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52470  bytes 6730026 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90566  bytes 98834386 (98.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 31669  bytes 3569825 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31669  bytes 3569825 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f974ee2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f974ee2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f974ee2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 52489  bytes 6735116 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 90599  bytes 98839491 (98.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 31701  bytes 3572105 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31701  bytes 3572105 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89e5e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89e5e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89e5e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53022  bytes 6777652 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91651  bytes 100246542 (100.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 31775  bytes 3577104 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31775  bytes 3577104 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f871aa278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f871aa278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f871aa278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53042  bytes 6782821 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91691  bytes 100252217 (100.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 31807  bytes 3579348 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31807  bytes 3579348 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f5e02e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5e02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5e02e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53063  bytes 6788553 (6.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 91722  bytes 100257173 (100.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 31841  bytes 3582806 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31841  bytes 3582806 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa53572e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa53572e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa53572e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53603  bytes 6824779 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92711  bytes 101643840 (101.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 31883  bytes 3585800 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31883  bytes 3585800 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e976278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e976278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e976278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 53622  bytes 6829845 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 92741  bytes 101648693 (101.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 31909  bytes 3587614 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31909  bytes 3587614 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ad0b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ad0b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ad0b2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54144  bytes 6865108 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93710  bytes 102980184 (102.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 31955  bytes 3590902 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31955  bytes 3590902 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa20c2278>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa20c2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa20c2278>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54163  bytes 6870142 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93740  bytes 102985041 (102.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 31979  bytes 3592576 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 31979  bytes 3592576 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e7792e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e7792e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e7792e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54185  bytes 6875969 (6.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 93778  bytes 102990483 (102.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 32021  bytes 3596662 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32021  bytes 3596662 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f872c42e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f872c42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f872c42e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54688  bytes 6910646 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94794  bytes 104386047 (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 32067  bytes 3599934 (3.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32067  bytes 3599934 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f845b92e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f845b92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f845b92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 54707  bytes 6915724 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 94827  bytes 104391156 (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 32099  bytes 3602202 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32099  bytes 3602202 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9ed92e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9ed92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9ed92e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55258  bytes 6959766 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95875  bytes 105793391 (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 32166  bytes 3606762 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32166  bytes 3606762 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97adf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97adf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97adf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55275  bytes 6964756 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95913  bytes 105799392 (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 32205  bytes 3609421 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32205  bytes 3609421 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9df6b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9df6b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9df6b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55297  bytes 6970552 (6.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 95943  bytes 105804285 (105.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 32239  bytes 3612891 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32239  bytes 3612891 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85f902b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85f902b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85f902b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55817  bytes 7005837 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96877  bytes 107106268 (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 32283  bytes 3616013 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32283  bytes 3616013 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f893f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f893f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f893f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 55836  bytes 7011124 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 96907  bytes 107111131 (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 32307  bytes 3617687 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32307  bytes 3617687 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8c132b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8c132b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8c132b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56406  bytes 7048717 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97931  bytes 108536007 (108.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 32349  bytes 3620681 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32349  bytes 3620681 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82b5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82b5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82b5f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56425  bytes 7053783 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 97963  bytes 108541010 (108.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 32375  bytes 3622495 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32375  bytes 3622495 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb3cd72b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3cd72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3cd72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56904  bytes 7087250 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98928  bytes 109878095 (109.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 32427  bytes 3627285 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32427  bytes 3627285 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c26c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c26c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c26c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 56928  bytes 7092793 (7.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 98965  bytes 109883531 (109.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 32459  bytes 3629541 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32459  bytes 3629541 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa32652b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa32652b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa32652b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57391  bytes 7124866 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99922  bytes 111208346 (111.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 32497  bytes 3632197 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32497  bytes 3632197 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86e8e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86e8e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86e8e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57444  bytes 7136628 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 99997  bytes 111221179 (111.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 32556  bytes 3636229 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32556  bytes 3636229 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa56b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa56b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa56b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 57474  bytes 7143934 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 100047  bytes 111228999 (111.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 32597  bytes 3639044 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32597  bytes 3639044 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99c9b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99c9b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99c9b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58015  bytes 7180649 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101054  bytes 112626796 (112.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 32643  bytes 3643368 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32643  bytes 3643368 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d056240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d056240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d056240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58039  bytes 7186339 (7.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 101094  bytes 112632450 (112.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 32675  bytes 3645636 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32675  bytes 3645636 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae4832b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae4832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae4832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58523  bytes 7219538 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102095  bytes 114018101 (114.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 32711  bytes 3648164 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32711  bytes 3648164 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb440f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb440f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb440f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58543  bytes 7224660 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102129  bytes 114023634 (114.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 32741  bytes 3650304 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32741  bytes 3650304 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c14a240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c14a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c14a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 58560  bytes 7229614 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 102159  bytes 114028525 (114.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 32765  bytes 3651978 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32765  bytes 3651978 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa45812b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa45812b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa45812b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59068  bytes 7264581 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103160  bytes 115428790 (115.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 32809  bytes 3656162 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32809  bytes 3656162 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f861372b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f861372b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f861372b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59099  bytes 7270748 (7.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 103209  bytes 115435119 (115.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 32849  bytes 3659024 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32849  bytes 3659024 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab5262b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab5262b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab5262b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59535  bytes 7301397 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104114  bytes 116676842 (116.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 32885  bytes 3661552 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32885  bytes 3661552 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1cfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1cfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1cfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59556  bytes 7306603 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104151  bytes 116682395 (116.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 32925  bytes 3664267 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32925  bytes 3664267 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f4772b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f4772b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f4772b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 59617  bytes 7320651 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 104240  bytes 116697664 (116.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 32985  bytes 3668410 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 32985  bytes 3668410 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96bb4240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96bb4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96bb4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60094  bytes 7354181 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105214  bytes 118045531 (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 33031  bytes 3672722 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33031  bytes 3672722 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f881d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f881d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f881d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60116  bytes 7359624 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 105249  bytes 118050843 (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 33063  bytes 3675002 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33063  bytes 3675002 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f22a240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f22a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f22a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60624  bytes 7394069 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106203  bytes 119372684 (119.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 33103  bytes 3677798 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33103  bytes 3677798 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b3822b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b3822b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b3822b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60641  bytes 7399023 (7.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106232  bytes 119377501 (119.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 33127  bytes 3679472 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33127  bytes 3679472 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb07aa240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb07aa240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb07aa240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 60660  bytes 7404140 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 106266  bytes 119382699 (119.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 33161  bytes 3681906 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33161  bytes 3681906 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88df22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88df22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88df22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61119  bytes 7437036 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107192  bytes 120647740 (120.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 33207  bytes 3686240 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33207  bytes 3686240 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8c4b72b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c4b72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c4b72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61143  bytes 7442602 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 107233  bytes 120653469 (120.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 33243  bytes 3688834 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33243  bytes 3688834 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a806240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a806240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a806240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61638  bytes 7476463 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108238  bytes 122040816 (122.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 33283  bytes 3691658 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33283  bytes 3691658 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f934a22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f934a22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f934a22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61655  bytes 7481437 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108272  bytes 122045999 (122.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 33315  bytes 3693926 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33315  bytes 3693926 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4ee8240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4ee8240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4ee8240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 61718  bytes 7495337 (7.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 108353  bytes 122060525 (122.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 33375  bytes 3697906 (3.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33375  bytes 3697906 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa57ca2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa57ca2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa57ca2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62275  bytes 7532527 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109301  bytes 123363332 (123.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 33425  bytes 3701432 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33425  bytes 3701432 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa82192b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa82192b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa82192b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62298  bytes 7538560 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 109335  bytes 123368566 (123.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 33453  bytes 3704462 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33453  bytes 3704462 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad57d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad57d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad57d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62789  bytes 7572405 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110322  bytes 124722900 (124.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 33497  bytes 3707596 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33497  bytes 3707596 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0637240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0637240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0637240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62807  bytes 7577411 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110353  bytes 124727849 (124.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 33521  bytes 3709270 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33521  bytes 3709270 (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'
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
/sbin/ifconfig Error : None
 file /home/nano/.log/2025/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2e632b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2e632b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2e632b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 62825  bytes 7582417 (7.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110384  bytes 124732822 (124.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 33551  bytes 3711410 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33551  bytes 3711410 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb58092b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb58092b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb58092b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 63409  bytes 7621628 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111403  bytes 126176475 (126.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 33599  bytes 3715862 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33599  bytes 3715862 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c2d12b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c2d12b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c2d12b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 7627184 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 111446  bytes 126182320 (126.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 33639  bytes 3718746 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33639  bytes 3718746 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f791ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f791ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f791ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64045  bytes 7667041 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112427  bytes 127533315 (127.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 33677  bytes 3721414 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33677  bytes 3721414 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82cef2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82cef2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82cef2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64064  bytes 7672107 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112460  bytes 127538400 (127.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 33709  bytes 3723694 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33709  bytes 3723694 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ef13240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ef13240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ef13240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64129  bytes 7686162 (7.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 112545  bytes 127553680 (127.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 33764  bytes 3727389 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33764  bytes 3727389 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8faf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8faf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8faf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64721  bytes 7725577 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113605  bytes 129044994 (129.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 33823  bytes 3732558 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33823  bytes 3732558 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98b6f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98b6f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98b6f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 64743  bytes 7731020 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 113640  bytes 129050298 (129.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 33849  bytes 3734372 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33849  bytes 3734372 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9bd1f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bd1f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bd1f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65273  bytes 7766640 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114617  bytes 130409939 (130.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 33891  bytes 3737366 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33891  bytes 3737366 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98176240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98176240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98176240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65293  bytes 7771880 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114650  bytes 130415054 (130.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 33919  bytes 3739308 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33919  bytes 3739308 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f946fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f946fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f946fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65312  bytes 7776997 (7.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 114685  bytes 130420258 (130.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 33949  bytes 3741448 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33949  bytes 3741448 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b6d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b6d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b6d22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65774  bytes 7809596 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115619  bytes 131707469 (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 33993  bytes 3745632 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 33993  bytes 3745632 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91c692b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91c692b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91c692b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 65802  bytes 7815456 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 115660  bytes 131713185 (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 34029  bytes 3748226 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34029  bytes 3748226 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9efe22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9efe22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9efe22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 66368  bytes 7853193 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116580  bytes 132970446 (132.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 34065  bytes 3750754 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34065  bytes 3750754 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8209e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8209e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8209e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 66386  bytes 7858496 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116611  bytes 132975426 (132.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 34093  bytes 3752696 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34093  bytes 3752696 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa99782b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa99782b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa99782b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 66445  bytes 7871128 (7.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 116695  bytes 132990078 (132.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 34156  bytes 3757035 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34156  bytes 3757035 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88d1c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88d1c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88d1c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67000  bytes 7909495 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117662  bytes 134307166 (134.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 34215  bytes 3762203 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34215  bytes 3762203 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f802952b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802952b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f802952b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67020  bytes 7914798 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 117699  bytes 134312641 (134.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 34239  bytes 3763877 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34239  bytes 3763877 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f967192b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f967192b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f967192b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67533  bytes 7949451 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118700  bytes 135708535 (135.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 34281  bytes 3766871 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34281  bytes 3766871 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e03c240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e03c240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e03c240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67554  bytes 7954629 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118733  bytes 135713988 (135.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 34309  bytes 3768813 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34309  bytes 3768813 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb300f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb300f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb300f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 67578  bytes 7960221 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 118770  bytes 135720381 (135.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 34343  bytes 3771247 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34343  bytes 3771247 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f916732b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f916732b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f916732b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68141  bytes 7998024 (7.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119725  bytes 137040869 (137.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 34389  bytes 3775581 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34389  bytes 3775581 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb57232b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb57232b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb57232b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68168  bytes 8003823 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 119765  bytes 137046475 (137.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 34427  bytes 3778289 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34427  bytes 3778289 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f935cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f935cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f935cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68736  bytes 8041370 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120785  bytes 138463909 (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 34473  bytes 3781595 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34473  bytes 3781595 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f799cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f799cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f799cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68757  bytes 8047076 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120818  bytes 138469050 (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 34499  bytes 3783425 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34499  bytes 3783425 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cc452b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc452b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc452b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 68781  bytes 8052536 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 120860  bytes 138474969 (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 34541  bytes 3786278 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34541  bytes 3786278 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96d4e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96d4e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96d4e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69280  bytes 8093336 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121861  bytes 139789059 (139.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 34621  bytes 3792891 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34621  bytes 3792891 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8a96c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a96c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a96c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69301  bytes 8098671 (8.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 121898  bytes 139794543 (139.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 34645  bytes 3794565 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34645  bytes 3794565 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9eb6e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eb6e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eb6e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69743  bytes 8130064 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122815  bytes 141054486 (141.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 34681  bytes 3797093 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34681  bytes 3797093 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f5a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f5a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f5a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69761  bytes 8135145 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122850  bytes 141059754 (141.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 34711  bytes 3799233 (3.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34711  bytes 3799233 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb49332b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb49332b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb49332b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 69778  bytes 8140099 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 122877  bytes 141064423 (141.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 34737  bytes 3801047 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34737  bytes 3801047 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f918642b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f918642b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f918642b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70290  bytes 8175326 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123862  bytes 142426004 (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 34791  bytes 3805965 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34791  bytes 3805965 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab36f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab36f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab36f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70315  bytes 8181058 (8.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 123903  bytes 142431718 (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 34821  bytes 3808093 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34821  bytes 3808093 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac3692b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac3692b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac3692b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70813  bytes 8214975 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124919  bytes 143846015 (143.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 34865  bytes 3811215 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34865  bytes 3811215 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4f402b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4f402b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4f402b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70836  bytes 8220482 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124953  bytes 143851532 (143.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 34889  bytes 3812889 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34889  bytes 3812889 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f84f922b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84f922b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84f922b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 70855  bytes 8225524 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 124986  bytes 143856605 (143.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 34921  bytes 3815169 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 34921  bytes 3815169 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2f34240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2f34240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2f34240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71439  bytes 8271958 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126057  bytes 145254523 (145.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 35003  bytes 3821799 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35003  bytes 3821799 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa30bc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa30bc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa30bc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71468  bytes 8279454 (8.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 126104  bytes 145261813 (145.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 35037  bytes 3824171 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35037  bytes 3824171 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f922442b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f922442b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f922442b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71926  bytes 8311247 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127040  bytes 146567978 (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 35073  bytes 3826699 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35073  bytes 3826699 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f999762b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999762b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f999762b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71944  bytes 8316237 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127076  bytes 146573273 (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 35103  bytes 3828839 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35103  bytes 3828839 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa42412b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa42412b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa42412b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 71960  bytes 8321139 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 127102  bytes 146577876 (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 35127  bytes 3830513 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35127  bytes 3830513 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d8f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d8f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d8f92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72448  bytes 8355176 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128087  bytes 147934190 (147.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 35179  bytes 3835303 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35179  bytes 3835303 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d55b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d55b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d55b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72474  bytes 8360907 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 128126  bytes 147939758 (147.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 35211  bytes 3837571 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35211  bytes 3837571 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81570240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81570240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81570240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72957  bytes 8394079 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129102  bytes 149293462 (149.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 35255  bytes 3840693 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35255  bytes 3840693 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab3a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab3a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab3a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 8399548 (8.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129139  bytes 149298833 (149.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 35281  bytes 3842517 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35281  bytes 3842517 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e437240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e437240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e437240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 72996  bytes 8404602 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 129171  bytes 149303836 (149.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 35313  bytes 3844785 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35313  bytes 3844785 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80eb12b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80eb12b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80eb12b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 73579  bytes 8449871 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130242  bytes 150725237 (150.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 35388  bytes 3851028 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35388  bytes 3851028 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7df8240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7df8240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7df8240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 73601  bytes 8455485 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 130282  bytes 150730936 (150.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 35429  bytes 3853826 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35429  bytes 3853826 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7dd832b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7dd832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7dd832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74090  bytes 8488890 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131262  bytes 152087729 (152.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 35465  bytes 3856354 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35465  bytes 3856354 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d3c62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d3c62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d3c62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74108  bytes 8493916 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131297  bytes 152092982 (152.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 35497  bytes 3858622 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35497  bytes 3858622 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8c1b02b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c1b02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c1b02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74125  bytes 8498890 (8.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 131326  bytes 152097796 (152.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 35523  bytes 3860424 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35523  bytes 3860424 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85b0f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85b0f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85b0f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74633  bytes 8533848 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132298  bytes 153426527 (153.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 35575  bytes 3865240 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35575  bytes 3865240 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9380e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9380e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9380e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 74657  bytes 8539512 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 132337  bytes 153432113 (153.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 35607  bytes 3867508 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35607  bytes 3867508 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8873f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8873f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8873f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75154  bytes 8573365 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133358  bytes 154846605 (154.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 35651  bytes 3870642 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35651  bytes 3870642 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4b912b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4b912b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4b912b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75177  bytes 8578880 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133394  bytes 154852965 (154.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 35677  bytes 3872472 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35677  bytes 3872472 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e4cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e4cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e4cc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75196  bytes 8583958 (8.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 133421  bytes 154857631 (154.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 35703  bytes 3874274 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35703  bytes 3874274 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d4ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d4ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d4ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75726  bytes 8626346 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134465  bytes 156247974 (156.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 35782  bytes 3880816 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35782  bytes 3880816 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2bcf240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2bcf240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2bcf240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 75750  bytes 8631962 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 134514  bytes 156254554 (156.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 35825  bytes 3883780 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35825  bytes 3883780 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b56e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b56e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b56e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76261  bytes 8666487 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135480  bytes 157600404 (157.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 35861  bytes 3886308 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35861  bytes 3886308 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c53f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c53f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c53f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76284  bytes 8673565 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135520  bytes 157606003 (157.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 35895  bytes 3888716 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35895  bytes 3888716 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f803a82b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f803a82b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f803a82b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76303  bytes 8678682 (8.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 135553  bytes 157611091 (157.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 35919  bytes 3890390 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35919  bytes 3890390 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa8562b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa8562b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa8562b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76766  bytes 8711387 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136500  bytes 158923851 (158.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 35969  bytes 3895040 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 35969  bytes 3895040 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faeb2e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faeb2e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faeb2e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 76792  bytes 8717159 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 136542  bytes 158929655 (158.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 36003  bytes 3897470 (3.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36003  bytes 3897470 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95a9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95a9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95a9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77238  bytes 8748396 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137479  bytes 160220226 (160.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 36041  bytes 3900138 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36041  bytes 3900138 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8af382b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8af382b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8af382b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77256  bytes 8753402 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137516  bytes 160225576 (160.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 36073  bytes 3902406 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36073  bytes 3902406 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8bdea240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bdea240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bdea240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77279  bytes 8758953 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 137549  bytes 160231139 (160.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 36099  bytes 3904208 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36099  bytes 3904208 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4bfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4bfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4bfc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77817  bytes 8795534 (8.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138582  bytes 161665595 (161.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 36161  bytes 3909589 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36161  bytes 3909589 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c5b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c5b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c5b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 77880  bytes 8809373 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 138670  bytes 161680591 (161.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 36222  bytes 3913758 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36222  bytes 3913758 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f962d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f962d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f962d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78442  bytes 8846827 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139646  bytes 163031405 (163.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 36258  bytes 3916286 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36258  bytes 3916286 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f896842b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896842b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f896842b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78461  bytes 8852138 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139676  bytes 163036301 (163.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 36282  bytes 3917960 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36282  bytes 3917960 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f924cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f924cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f924cf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 78482  bytes 8857543 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 139712  bytes 163041767 (163.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 36316  bytes 3920368 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36316  bytes 3920368 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f83736240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83736240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83736240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79014  bytes 8893758 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140673  bytes 164375653 (164.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 36360  bytes 3924552 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36360  bytes 3924552 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb15e6240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb15e6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb15e6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79040  bytes 8899542 (8.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 140717  bytes 164381630 (164.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 36396  bytes 3927146 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36396  bytes 3927146 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f901ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f901ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f901ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79511  bytes 8932011 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141665  bytes 165711804 (165.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 36432  bytes 3929674 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36432  bytes 3929674 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8332a240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8332a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8332a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79532  bytes 8937212 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141702  bytes 165717186 (165.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 36466  bytes 3932104 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36466  bytes 3932104 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa108e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa108e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa108e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 79550  bytes 8942238 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 141729  bytes 165721861 (165.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 36492  bytes 3933906 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36492  bytes 3933906 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4e2a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4e2a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4e2a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80216  bytes 8986077 (8.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142727  bytes 167119276 (167.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 36542  bytes 3938556 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36542  bytes 3938556 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f983c4240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f983c4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f983c4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80284  bytes 9002043 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 142821  bytes 167135224 (167.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 36606  bytes 3942831 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36606  bytes 3942831 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa175c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa175c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa175c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80752  bytes 9034609 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143786  bytes 168472425 (168.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 36650  bytes 3945929 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36650  bytes 3945929 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb466d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb466d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb466d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80771  bytes 9039687 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143819  bytes 168477476 (168.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 36676  bytes 3947731 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36676  bytes 3947731 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e61b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e61b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e61b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 80791  bytes 9044805 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 143852  bytes 168482563 (168.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 36708  bytes 3950011 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36708  bytes 3950011 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb162f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb162f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb162f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81338  bytes 9081800 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144833  bytes 169845270 (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 36752  bytes 3954195 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36752  bytes 3954195 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9dbcc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9dbcc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9dbcc2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81364  bytes 9087531 (9.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 144879  bytes 169851327 (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 36788  bytes 3956789 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36788  bytes 3956789 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1eda2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1eda2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1eda2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81931  bytes 9125277 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145861  bytes 171214039 (171.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 36826  bytes 3959457 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36826  bytes 3959457 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f984b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f984b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f984b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81952  bytes 9130867 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145898  bytes 171219423 (171.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 36858  bytes 3961725 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36858  bytes 3961725 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ea352b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ea352b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ea352b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 81969  bytes 9135797 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 145927  bytes 171224211 (171.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 36882  bytes 3963399 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36882  bytes 3963399 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb65052b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb65052b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb65052b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 82503  bytes 9172092 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146890  bytes 172552415 (172.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 36932  bytes 3968049 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36932  bytes 3968049 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f0262b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f0262b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f0262b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 82570  bytes 9186097 (9.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 146980  bytes 172567700 (172.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 36989  bytes 3971883 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 36989  bytes 3971883 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faeb9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faeb9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faeb9a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83078  bytes 9220886 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 147987  bytes 173959765 (173.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 37042  bytes 3975562 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37042  bytes 3975562 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b79e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b79e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b79e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83095  bytes 9225860 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148016  bytes 173964589 (173.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 37068  bytes 3977364 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37068  bytes 3977364 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ee4d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ee4d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ee4d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83112  bytes 9230790 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148047  bytes 173969532 (173.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 37098  bytes 3979504 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37098  bytes 3979504 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f84d552b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84d552b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84d552b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83566  bytes 9262504 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 148986  bytes 175264366 (175.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 37138  bytes 3982332 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37138  bytes 3982332 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8341f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8341f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8341f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 83596  bytes 9269148 (9.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149031  bytes 175270387 (175.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 37182  bytes 3986550 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37182  bytes 3986550 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ea1d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ea1d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ea1d2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84173  bytes 9307181 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149929  bytes 176503023 (176.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 37222  bytes 3989346 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37222  bytes 3989346 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb479c240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb479c240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb479c240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84189  bytes 9312083 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149960  bytes 176507991 (176.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 37252  bytes 3991486 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37252  bytes 3991486 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8aad5240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8aad5240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8aad5240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84208  bytes 9317573 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 149991  bytes 176512975 (176.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 37276  bytes 3993160 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37276  bytes 3993160 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f878e5240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f878e5240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f878e5240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84734  bytes 9353775 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 150981  bytes 177886447 (177.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 37324  bytes 3997656 (3.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37324  bytes 3997656 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a9e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a9e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a9e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 84802  bytes 9367497 (9.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 151071  bytes 177901611 (177.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 37383  bytes 4001689 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37383  bytes 4001689 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb01642b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb01642b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb01642b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85264  bytes 9400506 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152008  bytes 179189285 (179.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 37438  bytes 4005469 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37438  bytes 4005469 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faae752b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faae752b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faae752b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85286  bytes 9405993 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152047  bytes 179195198 (179.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 37464  bytes 4007283 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37464  bytes 4007283 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb439e240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb439e240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb439e240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85305  bytes 9411027 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 152078  bytes 179200134 (179.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 37494  bytes 4009423 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37494  bytes 4009423 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4c742b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4c742b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4c742b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85813  bytes 9446247 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153123  bytes 180637937 (180.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 37538  bytes 4013607 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37538  bytes 4013607 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8b7ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b7ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b7ba2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 85840  bytes 9452011 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 153163  bytes 180643574 (180.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 37576  bytes 4016363 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37576  bytes 4016363 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cfd52e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cfd52e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cfd52e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86323  bytes 9485357 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154117  bytes 181975618 (181.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 37612  bytes 4018891 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37612  bytes 4018891 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d42c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d42c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d42c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86342  bytes 9490522 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154147  bytes 181980551 (181.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 37642  bytes 4020983 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37642  bytes 4020983 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f850ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f850ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f850ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86361  bytes 9495588 (9.4 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 154181  bytes 181985705 (181.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 37674  bytes 4023263 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37674  bytes 4023263 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f941002b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f941002b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f941002b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86816  bytes 9527225 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155144  bytes 183294811 (183.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 37710  bytes 4025791 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37710  bytes 4025791 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87e98240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87e98240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87e98240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 86844  bytes 9533616 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 155190  bytes 183301098 (183.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 37758  bytes 4030160 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37758  bytes 4030160 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa22972b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa22972b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa22972b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87366  bytes 9575152 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156214  bytes 184657546 (184.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 37832  bytes 4035297 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37832  bytes 4035297 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f844d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f844d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f844d72b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87384  bytes 9580178 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156248  bytes 184662784 (184.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 37858  bytes 4037099 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37858  bytes 4037099 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ead22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ead22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ead22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87401  bytes 9585108 (9.5 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 156275  bytes 184667424 (184.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 37882  bytes 4038773 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37882  bytes 4038773 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa28a4240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa28a4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa28a4240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87900  bytes 9619591 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157297  bytes 186082205 (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 37932  bytes 4043423 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37932  bytes 4043423 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faddc62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faddc62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faddc62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 87924  bytes 9625464 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 157333  bytes 186087521 (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 37964  bytes 4045679 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 37964  bytes 4045679 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb3ee1240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3ee1240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3ee1240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88412  bytes 9658825 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158321  bytes 187465221 (187.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 38008  bytes 4048813 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38008  bytes 4048813 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa05022b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa05022b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa05022b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88432  bytes 9663963 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158352  bytes 187470177 (187.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 38034  bytes 4050615 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38034  bytes 4050615 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f822ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f822ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f822ce2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 88449  bytes 9668917 (9.6 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 158384  bytes 187475219 (187.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 38064  bytes 4052755 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38064  bytes 4052755 (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
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f782aa2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f782aa2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f782aa2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89033  bytes 9707294 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159401  bytes 188901195 (188.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 38106  bytes 4055723 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38106  bytes 4055723 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f864352b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f864352b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f864352b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89058  bytes 9713439 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 159442  bytes 188906894 (188.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 38142  bytes 4059359 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38142  bytes 4059359 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f945512b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f945512b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f945512b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89667  bytes 9759907 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160512  bytes 190368931 (190.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 38214  bytes 4064192 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38214  bytes 4064192 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae5832b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae5832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae5832b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89685  bytes 9764972 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160549  bytes 190374466 (190.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 38250  bytes 4066730 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38250  bytes 4066730 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8304b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8304b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8304b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 89703  bytes 9769978 (9.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 160576  bytes 190379138 (190.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 38274  bytes 4068404 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38274  bytes 4068404 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b1442b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b1442b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b1442b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90164  bytes 9802477 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 161516  bytes 191676939 (191.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 38324  bytes 4073054 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38324  bytes 4073054 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5d942b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5d942b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5d942b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90190  bytes 9808212 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 161556  bytes 191682552 (191.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 38356  bytes 4075322 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38356  bytes 4075322 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa582e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa582e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa582e2e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90677  bytes 9841971 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162552  bytes 193063711 (193.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 38402  bytes 4078584 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38402  bytes 4078584 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa58082b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa58082b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa58082b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 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 9846977 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162582  bytes 193068605 (193.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 38426  bytes 4080258 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38426  bytes 4080258 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88c402b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88c402b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88c402b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 90715  bytes 9852122 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 162617  bytes 193073800 (193.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 38456  bytes 4082398 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38456  bytes 4082398 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa19ec240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa19ec240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa19ec240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91254  bytes 9888677 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 163595  bytes 194430538 (194.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 38500  bytes 4086582 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38500  bytes 4086582 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f892bf240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f892bf240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f892bf240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91278  bytes 9894222 (9.8 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 163634  bytes 194436127 (194.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 38534  bytes 4089006 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38534  bytes 4089006 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf89a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf89a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf89a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91816  bytes 9936508 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164616  bytes 195739994 (195.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 38601  bytes 4093567 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38601  bytes 4093567 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f783d6240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f783d6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f783d6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91834  bytes 9941490 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164654  bytes 195745604 (195.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 38640  bytes 4096226 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38640  bytes 4096226 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a22e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a22e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a22e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 91851  bytes 9946444 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 164681  bytes 195750276 (195.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 38664  bytes 4097900 (4.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38664  bytes 4097900 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb411d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb411d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb411d2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92327  bytes 9979755 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 165657  bytes 197102578 (197.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 38716  bytes 4102690 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38716  bytes 4102690 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb41c0240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb41c0240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb41c0240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92354  bytes 9985824 (9.9 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 165696  bytes 197108181 (197.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 38748  bytes 4104946 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38748  bytes 4104946 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f772962b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f772962b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f772962b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92830  bytes 10018648 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166676  bytes 198468325 (198.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 38790  bytes 4107940 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38790  bytes 4107940 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9dcb82b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9dcb82b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9dcb82b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92849  bytes 10023726 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166709  bytes 198473566 (198.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 38816  bytes 4109764 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38816  bytes 4109764 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87daf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87daf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87daf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 92875  bytes 10031157 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 166748  bytes 198480105 (198.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 38848  bytes 4112054 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38848  bytes 4112054 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7facbc7240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facbc7240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facbc7240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93396  bytes 10068577 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167721  bytes 199814796 (199.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 38896  bytes 4116506 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38896  bytes 4116506 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf8e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf8e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf8e02b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93417  bytes 10073932 (10.0 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 167754  bytes 199819966 (199.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 38920  bytes 4118180 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38920  bytes 4118180 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab2e6240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab2e6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab2e6240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93937  bytes 10112501 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168771  bytes 201192792 (201.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 38997  bytes 4123484 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 38997  bytes 4123484 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85fa62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85fa62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85fa62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93972  bytes 10121555 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168827  bytes 201202528 (201.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 39038  bytes 4126325 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39038  bytes 4126325 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d3232b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d3232b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d3232b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 93990  bytes 10126537 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 168857  bytes 201207441 (201.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 39062  bytes 4127999 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39062  bytes 4127999 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d690240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d690240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d690240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94472  bytes 10160128 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169792  bytes 202499092 (202.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 39112  bytes 4132649 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39112  bytes 4132649 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa68e52b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa68e52b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa68e52b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 94499  bytes 10165944 (10.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 169835  bytes 202504944 (202.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 39148  bytes 4135207 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39148  bytes 4135207 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa35d42b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa35d42b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa35d42b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95033  bytes 10201713 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170846  bytes 203901326 (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 39190  bytes 4138201 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39190  bytes 4138201 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa852a240>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa852a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa852a240>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95049  bytes 10206639 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170881  bytes 203906561 (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 39214  bytes 4139875 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39214  bytes 4139875 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76f3c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f3c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76f3c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95068  bytes 10211717 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 170910  bytes 203911507 (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 39238  bytes 4141549 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39238  bytes 4141549 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f773a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f773a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f773a62b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95622  bytes 10249251 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171894  bytes 205259905 (205.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 39290  bytes 4146327 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39290  bytes 4146327 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8239f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8239f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8239f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 95646  bytes 10254869 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 171932  bytes 205265428 (205.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 39316  bytes 4148141 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39316  bytes 4148141 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad1c22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad1c22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad1c22b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96165  bytes 10290156 (10.2 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172897  bytes 206598670 (206.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 39368  bytes 4151708 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39368  bytes 4151708 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f918862b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f918862b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f918862b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v]
daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96224  bytes 10303637 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 172981  bytes 206613356 (206.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 39428  bytes 4155851 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39428  bytes 4155851 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0f022b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0f022b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0f022b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
 nb taken pictures : 0
outs: b'docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\n        ether 02:42:66:d0:53:69  txqueuelen 0  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\neth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\n        ether 00:04:4b:ea:d3:a8  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n        device interrupt 150  base 0xe000  \n\neth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.8.100  netmask 255.255.255.0  broadcast 192.168.8.255\n        inet6 fe80::90b4:89e1:1323:722  prefixlen 64  scopeid 0x20<link>\n        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)\n        RX packets 96241  bytes 10308868 (10.3 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 173016  bytes 206618664 (206.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 39452  bytes 4157525 (4.1 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 39452  bytes 4157525 (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/01/21/classify/new_classify.txt does not exist. All values set to 0.
First part ok
WARNING:root:Negative value registered at startup '235'
WARNING:root:Downtime '-1078.88' reset to '0'
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c14b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c14b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c14b2b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8eb972b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8eb972b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8eb972b0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
--- Logging error ---
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite
    with open(counter_photo) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/21012025/counter_photo'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f866032e8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f866032e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in <module>
    getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson
    insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip,  ram_cpu, uptime_day, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB
    r = requests.post(requete, data=data)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f866032e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
