Ticket #4646 (closed defect: fixed)
reading PDB ereaderError: Size mismatch
| Reported by: | tnsprin | Owned by: | john |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | PDB Input | Version: | |
| Keywords: | Cc: |
Description
I have a small number of pdb's (free books from ereader.com) that cannot be opened. I don't think they are DRM'd, but in fact they report
ERROR: Could not open ebook: Size mismatch. eReader header record size 116 KB is not supported.
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 61, in run File "threading.py", line 477, in run File "site-packages\calibre\ebooks\oeb\iterator.py", line 175, in enter File "site-packages\calibre\customize\conversion.py", line 211, in call File "site-packages\calibre\ebooks\pdb\input.py", line 43, in convert File "site-packages\calibre\ebooks\pdb\ereader\reader.py", line 26, in init
Ereader Error?: Size mismatch. eReader header record size 116 KB is not supported.
Note also that ereader.com's reader(PC and Palm) and B&N (PC) desktop reader has no problem with them but Nook does.
Example pdb attached.
Attachments
Change History
Changed 7 months ago by tnsprin
-
attachment
kjvoldtestament1of4.pdb
added
comment:1 Changed 7 months ago by tnsprin
- Owner changed from kovidgoyal to john
- Version trunk deleted
- Component changed from Graphical User Interface to PDB Input
comment:2 Changed 7 months ago by john
- Status changed from new to closed
- Resolution set to fixed
Fix committed. It is a very old Peanut Press PDB. I is very similar to the 202 Byte header the current version of Makebook produces. This book was probably created with either and earlier version of Makebook or a precursor to it. I've added support for these files.

sample pdb that will not read or convert