guoc / excerptor

Take and locate excerpts in PDF files quickly.
MIT License
154 stars 4 forks source link

macOS 10.13 Preview and excerptor: crash #11

Open stoettner opened 7 years ago

stoettner commented 7 years ago

Hi all, on macOS 10.13 Preview crashes when linking from a md file.

That means, the excerptor feature that creates single md files is opened. It contains a Zotero link. Before macOS 10.13 clicking on that link led directly to the respective annotation in the pdf. Now it crashes.

screen shot 2017-11-01 at 15 47 35

Nota bene: Skim is suffering from a PDF rendering issue since macOS 10.13 leading to the opened PDF mirrored. Skim development mentions that since Skim uses the Preview PDF rendering feature it can do little to fix it.

Hope you can fix this.

thanks and reg, wolf

stoettner commented 7 years ago

Sorry, here the crash excerpt.

reg, wolf


`Process: Preview [1400] Path: /Applications/Preview.app/Contents/MacOS/Preview Identifier: com.apple.Preview Version: 10.0 (944.1) Build Info: Preview-944001000000000~6 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Preview [1400] User ID: 501

Date/Time: 2017-11-01 15:47:22.759 +0100 OS Version: Mac OS X 10.13 (17A405) Report Version: 12 Bridge OS Version: 3.0 (14Y661) Anonymous UUID: 4A2D25C2-9E6F-2AC0-1594-3A54DC9CF247

Sleep/Wake UUID: 33E01844-B4BD-48C3-9475-0EF62A7DDA6F

Time Awake Since Boot: 5600 seconds Time Since Wake: 200 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PVPDFView annotations]: unrecognized selector sent to instance 0x7ff4994141a0' terminating with uncaught exception of type NSException abort() called `

guoc commented 7 years ago

Hi Wolf,

Thank you for your crash excerpt. It's really helpful.

Check this fix.

https://github.com/guoc/excerptor/releases/tag/fix-%2311