Open rkiesler1 opened 4 years ago
Hello, Thanks for reporting us this issue. It's possible that a wrong preview builder is used. Do you have some .key file sample, to help us fix this ?
ZIP file contains a .key file
Thanks, I check, and like https://github.com/algoo/preview-generator/issues/183, we get trouble with mimetype detection mecanism. It's also seems that support for keynote is far from perfect in LibreOffice (keynote preview are generated with libreoffice).
So, you now can workaround theses issues by:
from preview_generator.extension import mimetypes_storage
mimetypes_storage.add_type(
'application/vnd.apple.keynote', '.key')
Looks like it's trying to open the .key file as an archive:
PreviewGenerator:__init__:21 - INFO: New Preview builder of class<class 'preview_generator.preview.builder.archive__zip.ZipPreviewBuilder'>
However, bothget_jpeg_preview
andget_pdf_preview
fail for.key
files