The New York Times: Stanza: “The iPhone or iPod Touch can act as an electronic book reader.”
Tip of the Week: Turn Your iPhone Into an e-Book

Could not load book Error - PDF files

I am trying to open a PDF file (I have tried 5 of them now) in Stanza desktop and keep getting the error:

Could not load book

java.lang.ClassCastException: org.pdfbox.cos.COSArray

The pdfs load fine in preview and pdf reader.

I'm using an iMac - OS X 10.5.7, Stanza version 1.0.0-beta16 build #1:396

support's picture

You can try to open the PDF

You can try to open the PDF in a PDF viewer (such as Adobe Acrobat or Apple's Preview.app), select all the text (using Edit->Select All), copying the text, and then going back to Stanza and selecting File->New From Clipboard to open the selected text from the clipboard contents. That often works around some problems with PDF import.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.