On Jul 7, 2013, at 14:23, Peter Salazar wrote:

> Thanks for the quick response. The error I get is this: 
> 
> $ skimpdf extract document.pdf document-excerpt.pdf -page 11 19 
> 
> 2013-07-07 08:20:55.619 skimpdf[15510:707] -[__NSCFNumber annotations]: 
> unrecognized selector sent to instance 0x100119970
> 2013-07-07 08:20:55.623 skimpdf[15510:707] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber 
> annotations]: unrecognized selector sent to instance 0x100119970'
> *** First throw call stack:
> (
>       0   CoreFoundation                      0x00007fff836feb06 
> __exceptionPreprocess + 198
>       1   libobjc.A.dylib                     0x00007fff899043f0 
> objc_exception_throw + 43
>       2   CoreFoundation                      0x00007fff8379540a 
> -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
>       3   CoreFoundation                      0x00007fff836ed02e 
> ___forwarding___ + 414
>       4   CoreFoundation                      0x00007fff836ece18 
> _CF_forwarding_prep_0 + 232
>       5   PDFKit                              0x00007fff85da0fde 
> -[PDFDocument removePageAtIndex:] + 408
>       6   skimpdf                             0x0000000100002f53 main + 5453
>       7   skimpdf                             0x000000010000193c start + 52
> )
> libc++abi.dylib: terminate called throwing an exception
> Abort trap: 6
> 

That looks like a system framework bug in PDFKit. Unfortunately there's nothing 
we can do about that, Apple has to fix it.

Christiaan


> 
> On Sun, Jul 7, 2013 at 4:59 AM, Christiaan Hofman <[email protected]> wrote:
> 
> On Jul 7, 2013, at 8:26, Peter Salazar wrote:
> 
>> I'm trying to use the SkimPDF command-line client that comes with SkimPDF to 
>> extract pages.
>> 
>> What's the syntax for the command skimpdf extract?
>> 
>> The documentation gives it as: skimpdf extract IN_PDF_FILE [OUT_PDF_FILE] 
>> [-range START [LENGTH] | -page PAGE1... | -odd | -even]
>> 
>> But this, for instance, does not work:
>> 
>> $ skimpdf extract document.pdf document-excerpt.pdf -page 11 19 
>> I've tried all the other permutations I can think of, using ... or adding 
>> the characters PAGE etc, but nothing works and I get errors.
>> 
>> Any thoughts?
>> 
> 
> That command is correct. It works for me. What errors do you get?
> 
> Christiaan
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Skim-app-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-users
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Skim-app-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to