From 688122c46781e0648b39a400ef9243eb381c2a07 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 9 Jan 2017 10:20:14 +0100 Subject: [PATCH] Fix RuntimeError: File size has increased during compressing Fix #858 --- gns3server/handlers/api/controller/project_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gns3server/handlers/api/controller/project_handler.py b/gns3server/handlers/api/controller/project_handler.py index 77e180be..92827a87 100644 --- a/gns3server/handlers/api/controller/project_handler.py +++ b/gns3server/handlers/api/controller/project_handler.py @@ -304,7 +304,8 @@ class ProjectHandler: yield from response.write_eof() # Will be raise if you have no space left or permission issue on your temporary directory - except OSError as e: + # RuntimeError: something was wrong during the zip process + except (OSError, RuntimeError) as e: raise aiohttp.web.HTTPNotFound(text="Can't export project: {}".format(str(e))) @Route.post(