diff --git a/trytond/trytond/report/report.py b/trytond/trytond/report/report.py index 2d77b07a7a..a44ae6abcf 100644 --- a/trytond/trytond/report/report.py +++ b/trytond/trytond/report/report.py @@ -464,7 +464,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(