Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2020, 10:49 AM   #1
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Can't upload a certain book to my Forma (Error communicating with device)

I can't upload a particular book from Calibre to my Kobo Forma. With other books, I can upload from Calibre to Forma without any problems. But with this one particular book, it gives this error message:
Quote:
calibre, version 4.9.1
ERROR: Error: Error communicating with device

No META-INF/container.xml in epub

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 90, in run
File "site-packages/calibre/gui2/device.py", line 594, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 399, in upload_books
File "site-packages/calibre/devices/kobo/driver.py", line 2099, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 206, in _modify_epub
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 1180, in __init__
InvalidEpub: No META-INF/container.xml in epub
I get a similar message for maybe 2 or 3 other books.

What's wrong and how can I fix this problem?
droopy is offline   Reply With Quote
Old 02-06-2020, 12:12 PM   #2
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: 31,001
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by droopy View Post
I can't upload a particular book from Calibre to my Kobo Forma. With other books, I can upload from Calibre to Forma without any problems. But with this one particular book, it gives this error message:


I get a similar message for maybe 2 or 3 other books.

What's wrong and how can I fix this problem?
The Book is INVALID (damaged EPUB?).
No META-INF/container.xml in epub
theducks is online now   Reply With Quote
Advert
Old 02-06-2020, 02:14 PM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,795
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If you open the epub in Sigil, it will recreate the container.xml file in the META-INF directory in the file when it is saved. Calibre's editor errors out trying to open the file. Another good reason to keep both editors around. At the same time, error check the epub. I'd recommend downloading the epubcheck plugin for both editors.

Of course, there is a good chance the epub file is totally gorched. Time to get a new copy.

Last edited by DNSB; 02-06-2020 at 02:17 PM. Reason: Added comment about file being destroyed
DNSB is offline   Reply With Quote
Old 02-07-2020, 02:35 AM   #4
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Quote:
Originally Posted by DNSB View Post
If you open the epub in Sigil, it will recreate the container.xml file in the META-INF directory in the file when it is saved. Calibre's editor errors out trying to open the file. Another good reason to keep both editors around.
Hi David. Thank you for that advice. I get Sigil to open and save the epub. Now, Calibre can upload the epub to my Kobo without the error!


Quote:
Originally Posted by DNSB View Post
At the same time, error check the epub. I'd recommend downloading the epubcheck plugin for both editors..
I downloaded the epubcheck plugin for both Sigil and Calibre. I don't know how to run the plugin in Calibre. I run it in Sigil and see error codes, but why bother fixing the error codes when simply getting Sigil to save the epub solves my problem?

Last edited by droopy; 02-07-2020 at 02:45 AM.
droopy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error communicating with device, Cannot write to file, Unspecified error sunishun Devices 6 02-04-2019 09:37 PM
Error: Error communicating with device message techie6 Devices 5 04-02-2018 09:25 PM
error: communicating with device sprite1900 Calibre 19 11-24-2011 10:50 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ver 0.6.3 error: Error communicating with device PRS-505 scripo Calibre 4 08-01-2009 10:38 PM


All times are GMT -4. The time now is 11:12 PM.


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