Script exit with no output
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "tgnews.py", line 167, in <module>
with open(f'temp/{json_db_name}.json', 'r') as db:
FileNotFoundError: [Errno 2] No such file or directory: 'temp/....datapart2sampledata_ru.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "tgnews.py", line 21, in get_file_attrs
with open(path[0], 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../../sampledata_ru/20191209/08\\1263816346294683683.html'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "tgnews.py", line 171, in <module>
processed_files = process_files(args.source_dir)
File "tgnews.py", line 70, in process_files
proc_files = pool.map(get_file_attrs, proc_files)
File "/usr/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '../../sampledata_ru/20191209/08\\1263816346294683683.html'