excerptor
excerptor copied to clipboard
Kudos: the app that complements annotation
Hi guoc, many thanks for the app. It's doing a great job. As I see it from my point of view it complements what ZotFile for Zotero is doing. Especially useful is the option to extract all annotations using the macOS service menu and then saves every single highlight and note in a separate markup file.
Only it throws an error. Once I found out what it exactly is I'll let you know.
Again, thanks. wolf
Hi stoettner,
Thank you for your nice words.
Could you give me some details of the error? Hope I can help.
Hi guoc,
thanks for getting back.
Please find an excerpt of the crash message below. I skipped the usually very lengthy crash thread. Hope this helps. Should you need more details let me know.
Process: Excerptor [3667]
Path: /Applications/Excerptor.app/Contents/MacOS/Excerptor
Identifier: name.guoc.excerptor.Excerptor
Version: 1.2 (4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Excerptor [3667]
User ID: 501
Date/Time: 2017-04-19 10:01:24.382 +0200
OS Version: Mac OS X 10.12.4 (16E195)
Report Version: 12
Anonymous UUID: 1373ECF1-C70E-AD77-83DA-F401758A6ED3
Sleep/Wake UUID: 61EB2B12-0C79-4FF7-8A1D-FECC0025F6DE
Time Awake Since Boot: 7800 seconds
Time Since Wake: 900 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]
Application Specific Information:
fatal error: /Users/stoettner/Library/Mobile Documents/com~apple~CloudDocs/ED-annotation/Lind et al. - 2015 - Statistical Techniques in Business and Economics/Parameter A characteristic of a population..md exists: file /Users/guoc/Developer/excerptor/Excerptor/Helpers/error-helper.swift, line 27
reg, wolf
It looks like the annotation file had been created so that Excerptor found it existed already and reported this as an error.
In this report, the path is /Users/stoettner/Library/Mobile Documents/com~apple~CloudDocs/ED-annotation/Lind et al. - 2015 - Statistical Techniques in Business and Economics/Parameter A characteristic of a population..md
, you can go to this path by:
- Open Finder
- In its menu, Go -> Go to Folder...
- Copy and paste this path and Go If the file is there, move it (perhaps the enclosing folder as well), and try again.
Excerptor is intended to stop when it finds the target file already exists. It seems inconvenient, but it can avoid data loss in some cases. This means you can export a PDF file's annotation only once. If you need export again, the annotation files generated before should be removed first.
If this does not fix the issue, please attach a screenshot of Extract Annotations as Files tab in your Excerptor preferences. Thank you.
Hi guoc, found the issue. The error message
Application Specific Information:
fatal error: /Users/stoettner/Library/Mobile Documents/com~apple~CloudDocs/ED-annotation/Lind et al. - 2015 - Statistical Techniques in Business and Economics/Parameter A characteristic of a population..md exists: file /Users/guoc/Developer/excerptor/Excerptor/Helpers/error-helper.swift, line 27
is apparently correct since there are two annotations of identical phrasing - one in the text and identical one in the glossary of the book. Since I configured excerptor preferences to create file names according to the annotation's text you would get two identical files which the code correctly refuses.
All ok. Thanks again and keep up! wolf
Excerptor should give users a notification about existent files rather than just crash. I'll keep this issue open until I fix it.