Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Crash when previewing ZIP with single file entry #10

Closed
fregante opened this issue May 17, 2020 · 2 comments
Closed

Crash when previewing ZIP with single file entry #10

fregante opened this issue May 17, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@fregante
Copy link

fregante commented May 17, 2020

Document: index.js.zip (created via macOS’ own File → Compress)

Extension com.samuelmeuli.Glance.QLPlugin failed during preview of this document.

I only have Video.qlgenerator and WebpQuickLook.qlgenerator in ~/Library/QuickLook installed via Brew

macOS 10.15.4

I already turned it off and on again (the computer)

@fregante
Copy link
Author

I do have BetterZip installed (via Brew), which is what handles it normally, but even if I completely removed it and refresh + restart QuickLook, Glance still fails.

@samuelmeuli
Copy link
Owner

Probably an issue with my zipinfo regex.

Zip file size: 844 bytes, number of entries: 1
-rw-r--r--  2.0 unx     1346 bX defN 20-May-05 01:37 index.js
1 file, 1346 bytes uncompressed, 650 bytes compressed:  51.7%

The regex expects files instead of file on the last line.

@samuelmeuli samuelmeuli added the bug Something isn't working label May 17, 2020
@samuelmeuli samuelmeuli changed the title Extension com.samuelmeuli.Glance.QLPlugin failed during preview of this document. Crash when previewing ZIP with single file entry May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants