![]() |
#1 |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
![]()
Environment: Mint Linux
I downloaded a nice collection of MOBI ebooks. I can import the books into my working library w/o any errors, but most of the ebooks simply will not open for reading or converting in Calibre. The error: MobiError: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00 The files appear the right size, etc, and I can open and read the books in the Linux version of FBReader, so I know the files are not corrupt. Any ideas? Monty |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates the file you are trying to read is full of null bytes. Almost certainly a damaged file. Try opening the *exact same file* in fbreader.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Here are the details: calibre, version 1.25.0 ERROR: Could not open ebook: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00' Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 40, in run Thread.run(self) File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/calibre/calibre/ebooks/oeb/iterator/book.py", line 99, in __enter__ {}, self.base) File "/usr/lib/calibre/calibre/customize/conversion.py", line 241, in __call__ log, accelerators) File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_input.py", line 33, in convert options.debug_pipeline, try_extra_data_fix=True) File "/usr/lib/calibre/calibre/ebooks/mobi/reader/mobi6.py", line 83, in __init__ raise MobiError('Unknown book type: %s' % repr(self.ident)) MobiError: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00' Last edited by MontyJ; 11-29-2015 at 10:43 PM. Reason: Add info |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
You have a very old version of calibre. It's quite possible that there are fixes since then which might handle this.
|
![]() |
![]() |
![]() |
#5 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Installing the official binaries vs. the repository version will not interfere with your configuration! In any case, I just went through the binary install from the Calibre site (V 2.45) using Kovid's script. It installed just fine, but the error is still similar on the same file! Here is the errors with 2.45: calibre, version 2.45.0 ERROR: Could not open ebook: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00' Traceback (most recent call last): File "site-packages/calibre/gui2/viewer/main.py", line 37, in run File "threading.py", line 763, in run File "site-packages/calibre/ebooks/oeb/iterator/book.py", line 112, in __enter__ File "site-packages/calibre/customize/conversion.py", line 241, in __call__ File "site-packages/calibre/ebooks/conversion/plugins/mobi_input.py", line 33, in convert File "site-packages/calibre/ebooks/mobi/reader/mobi6.py", line 78, in __init__ MobiError: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00' |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Warning! Distro version of calibre ahead!
Please uninstall your distro calibre and re-install the version on calibre's website. There is no official support for distro calibre packages, only errors which can be duplicated with the official binaries. Distros mess around with the sources too much -- besides for being terribly out of date usually. ![]() EDIT: crosspost, and I see you still have the problem. ![]() Must reload page more often. ![]() Last edited by eschwartz; 11-29-2015 at 11:56 PM. |
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, if you are certain the same file works in fbreader but not in calibre, then there isn't much more we can do without a way to duplicate the problem. You'll need to upload a copy of the faulty book: http://calibre-ebook.com/bugs
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
I just downloaded a azw from Amazon and it loaded and converted find in calibre.
Delete and re-download. Using Mint 17.2 Cinnamon. bernie p.s. Tried one of my old prc files off the original Baen CD no problems. |
![]() |
![]() |
![]() |
#9 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Some files are outliers, and have weird oddnesses that calibre doesn't expect. If another application can read them, it is worth seeing if calibre can figure out how to read them as well. ![]() Now, calibre has a long history, and the chances of such a book are low. Not completely impossible though, and @MontyJ has stated the same files do open in FBReader. |
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Need the file
![]() |
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
![]() |
![]() |
![]() |
#12 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
And redownloading will most likely just get the same exact file again ![]() And you are assuming that whatever the source, they are regenerating the MOBI from scratch on each download. Which may not necessarily be the case even with Amazon. ... Age has little or nothing to do with it. Bottom line -- Kovid needs to see the file, then maybe something could be done. Last edited by eschwartz; 11-30-2015 at 01:44 PM. |
|
![]() |
![]() |
![]() |
#13 |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Apologies for the delay!
Do I need to register at ubuntu to upload the file? The link above takes me to their login page and I do not have an ubuntu login. I will gladly upload the .mobi file in question. Just to clarify: I downloaded a batch of .mobi ebooks. All of them will import into Calibre and show correct metadata. But when I try to open the book to read or convert, I get the error message I posted previously. This is in version 2.45.0. With FBReader, I can open and read the book normally. It displays normally, as did a few others I tried that Calibre would not display. Monty |
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Bug tracker is here --> http://calibre-ebook.com/bugs
|
![]() |
![]() |
![]() |
#15 |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
I created a bug report and uploaded one of the ebooks that produced the error.
MontyJ |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to open my epub files (7.4) under fedora. | Andjety | Sigil | 14 | 01-05-2014 06:54 PM |
Unable to open MOBI books | Cefoxtrot | Calibre | 1 | 11-24-2013 10:57 PM |
mobi to epub conversion fail and unable to open | vulcan_girl | Conversion | 1 | 12-24-2012 01:27 PM |
Unable to convert to MOBI | chota | Conversion | 7 | 03-06-2011 06:19 AM |
Classic Nook unable to open certain files | Craig_P | Barnes & Noble NOOK | 1 | 01-06-2011 05:01 PM |