diff --git a/trytond/trytond/report/report.py b/trytond/trytond/report/report.py index 20b99917d1..6800ee5b6c 100644 --- a/trytond/trytond/report/report.py +++ b/trytond/trytond/report/report.py @@ -466,7 +466,7 @@ class Report(URLMixin, PoolBase): time.sleep(0.02 * (retry - count)) try: subprocess.run(args, timeout=timeout, check=True) - except subprocess.CalledProcessError: + except (subprocess.SubprocessError, OSError): if count: continue logger.error(