Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2018, 05:43 AM   #1
hf11
Junior Member
hf11 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2018
Device: none
Ebook won't open if I copy it to another location

I had trouble opening an ebook which I downloaded but fixed the problem by copying it to another location, extracting the file, re-zipping it and extracting it again.

Now I can open the ebook in it's new location, but if I try and copy it anywhere else it won't open. The message I get is - "Failed to read book". Click "Show Details" for more information.


Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\simple_worker.py", line 284, in main
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 65, in extract_book
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\html_in put.py", line 87, in convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1292, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 72, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 703, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 348, in _spine_from_opf
OEBError: Spine is empty



Any ideas on how to fix this problem?

Last edited by hf11; 09-12-2018 at 06:14 AM.
hf11 is offline   Reply With Quote
Old 09-12-2018, 08:45 AM   #2
hf11
Junior Member
hf11 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2018
Device: none
I think this could have something to do with the epub file being moved out of it's original folder. When I try moving the whole folder with the epub/content file inside it, it seems to be okay.

I've cut the epub/content file out of it's folder on a lot of ebooks before though and it didn't seem to cause any problems.
hf11 is offline   Reply With Quote
Old 09-12-2018, 10:03 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,722
Karma: 10215826
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It should not matter where you put an EPUB unless the EPUb has some external references in it, which is highly unlikely, but hard ot be sure without access to the EPUB in question.
kovidgoyal is offline   Reply With Quote
Old 09-12-2018, 05:59 PM   #4
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 11,473
Karma: 10584684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@hf11 - EPUBs are a file, what do you mean by cutting the "epub/content" file out of its folder? You shouldn't need to unpack an EPUB to read it, much less remove remove anything.

What OS are you on and what was the download source ?

BR
BetterRed is offline   Reply With Quote
Old 09-12-2018, 07:00 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,354
Karma: 22265700
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
No User Serviceable Parts Inside

The EPUB file is the book with all the pieces needed.
If you break open the 'book' and rip out a piece, what you end up with is like removing a piston from an engine block. You end up with a broken engine
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bought an eBook for someone else - it won't open on their Kindle route66 Amazon Kindle 10 04-03-2012 08:44 PM
Calibre won't open after install -- ERROR: Bad database location htbyron Calibre 3 06-17-2010 11:43 AM
Error when trying to open Ebook Viewer, won't show stories cloudyvisions Calibre 1 03-28-2009 05:13 AM
Ebook Library won't open. seajewel Sony Reader 3 08-03-2008 04:10 AM
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 DaleDe IMP Books 0 09-14-2007 06:06 PM


All times are GMT -4. The time now is 10:38 PM.


MobileRead.com is a privately owned, operated and funded community.