From 8cf5677bf75fd848dc5a9649551141747814d9a8 Mon Sep 17 00:00:00 2001 From: Dmitriy Korchemkin Date: Sun, 26 Nov 2017 10:07:01 -0500 Subject: [PATCH] Allowing 2G+ csv export --- VelodyneHDL/python/veloview/kiwiviewerExporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VelodyneHDL/python/veloview/kiwiviewerExporter.py b/VelodyneHDL/python/veloview/kiwiviewerExporter.py index e07750e7..461975e3 100644 --- a/VelodyneHDL/python/veloview/kiwiviewerExporter.py +++ b/VelodyneHDL/python/veloview/kiwiviewerExporter.py @@ -101,7 +101,7 @@ def zipDir(inputDirectory, zipName): inputDirectory = os.path.abspath(inputDirectory) parentDirectory = os.path.dirname(inputDirectory) + os.sep - with contextlib.closing(zipfile.ZipFile(zipName, 'w', zipfile.ZIP_DEFLATED)) as archive: + with contextlib.closing(zipfile.ZipFile(zipName, 'w', zipfile.ZIP_DEFLATED, allowZip64=True)) as archive: for root, dirs, files in os.walk(inputDirectory): for filename in files: absoluteFilename = os.path.join(root, filename)