From dfcadabf14d54fd5e6c4ae9f16626e6680dc2852 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Aug 2012 21:17:15 +0530 Subject: [PATCH] Handle the catalog thumbnail cache becoming larger than 2GB --- src/calibre/library/catalogs/epub_mobi_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/catalogs/epub_mobi_builder.py b/src/calibre/library/catalogs/epub_mobi_builder.py index 6c87ff994f..a8cee7e1c9 100644 --- a/src/calibre/library/catalogs/epub_mobi_builder.py +++ b/src/calibre/library/catalogs/epub_mobi_builder.py @@ -3879,7 +3879,7 @@ Author '{0}': def open_archive(mode='r'): try: - return ZipFile(self.__archive_path, mode=mode) + return ZipFile(self.__archive_path, mode=mode, allowZip64=True) except: # Happens on windows if the file is opened by another # process