PC Magazine: “Stanza is the best e-book reader for the iPhone, and my favorite.”
21 Cool iPhone Apps - Stanza

epub file opens with Adobe Digital Editions but not with Stanza

Downloaded epub file which runs correctly on Adobe Digital Editions but will not open with Stanza. Error Message is

Could not load book
java.io.IOException: Pushback buffer overflow

Running OS X 10.5.6 on a dual core intel

Here's the console output

4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] appleEventProc 1701867619;1;1155753824;0
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] openDocProc: nextHandler=-1073753944 theEvent=-1073753952 userData=0
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] stanza.util.Log WARNING 16:24:15: Unsupported media type in 9780571246151.css: text/css
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] stanza.util.Log FINE 16:24:15: stanza.util.FormatErrorException: java.io.IOException: Pushback buffer overflow
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] stanza.util.FormatErrorException: java.io.IOException: Pushback buffer overflow
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.util.BookFormatService.load(BookFormatService.java:150)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.util.BookFormatService.loadBook(BookFormatService.java:108)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.container.swt.Stanza$16.run(Stanza.java:3566)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] Caused by: java.io.IOException: Pushback buffer overflow
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at java.io.PushbackReader.unread(PushbackReader.java:136)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at org.ccil.cowan.tagsoup.HTMLScanner.unread(HTMLScanner.java:274)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:487)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:449)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.format.html.HTMLFormat.getParagraphs(HTMLFormat.java:971)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.format.epub.EPubFormat.loadParas(EPubFormat.java:314)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.format.epub.EPubFormat.loadInternal(EPubFormat.java:261)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.format.epub.EPubFormat.load(EPubFormat.java:162)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.format.epub.EPubFormat.load(EPubFormat.java:147)
4/4/09 4:24:15 PM [0x0-0x122122].stanza[2215] at stanza.util.BookFormatService.load(BookFormatService.java:146)

Calibre displayed a message

Calibre displayed a message that the problem was DRM. The book was downloaded from Waterstone in the UK but the site doesn't mention DRM. Thanks for the help.

Emily's picture

If you purchase a book from a

If you purchase a book from a retailer, chances are that the book has DRM. Publishers usually require DRM because it prevents people from copying and distributing their books without their permission or compensation.

Emily's picture

Is it possible that the ePub

Is it possible that the ePub you downloaded had DRM? Stanza Desktop doesn't support DRM ePub files yet. What happens when you try to open the file in Calibre?

http://calibre.kovidgoyal.net/

If you're sure it's not a DRM problem, would you mind letting me know where you got the book? If you log in, I can see you email address, so I can email you to get the information. Thanks!

Comment viewing options

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