python /home/cod/mtr/script_for_cron.py -j default -m 30 -a 'python3 /home/cod/workarea/git/raspi-fotonower-x/python/upload_photos.py -n SyctomXV_2022QA -u marlene.fotonower.com -f /data_4/data_root/cod/SyctomXV_2022QA/ -t a11bbf787f98a50cb88ee572a91fddf4 --datou_id=4746 -j upload_by_sql_test -v --status_upload 0 --interval 1 --last_days 30 --file_local_db ~/.fotonower_config_SyctomXV/sqlite.db --fotonower_config_path ~/.fotonower_config_SyctomXV' -s cod_upload_SyctomXV -M 0 -S 0 -U 90,90,90
Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August/24082025/check'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August/24082025'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025/August'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job/2025'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log/job'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data_2/data_log/cod_log'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cod/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 18, in <module>
    logger = Logger('Upload', 'uploader_logger', False).start()
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 26, in start
    return self.build_logger(self.debug)
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 36, in build_logger
    return self.printed_logging() if debug else self.file_out_logging()
  File "/home/cod/workarea/git/raspi-fotonower-x/python/logger.py", line 40, in file_out_logging
    Path('%s/%s/%s' % (self.logfolder, datetime.today().strftime("%Y/%B/%d%m%Y"), self.log_path.split('/')[0])).mkdir(parents=True, exist_ok=True) 
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/usr/lib/python3.8/pathlib.py", line 1292, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  [Previous line repeated 3 more times]
  File "/usr/lib/python3.8/pathlib.py", line 1288, in mkdir
    self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/data_2/data_log'
Command exited with non-zero status 1
0.12user 0.04system 0:00.20elapsed 86%CPU (0avgtext+0avgdata 32324maxresident)k
352inputs+0outputs (7major+5527minor)pagefaults 0swaps
