View Single Post
Old 08-03-2024, 01:26 PM   #3007
New-Kobo-User
Junior Member
New-Kobo-User began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Color
Quote:
Originally Posted by JSWolf View Post
Are your CBZ corrupt?
I've been doing further testing my files. I used the test feature in winRAR to test if the files were corrupted. All files came back fine. All files are openable directly in calibre to read, I can also interact with all of the files in windows explorer (unzip, edits, etc.).

Out of curiosity, I unzipped one of the .rar files and rezipped it as a .zip file (and renamed to .cbr and .cbz). I wanted to test if I had a .cbr and .cbz of the same ebook, would I receive different errors when trying to import it to kobo. Turns out I do. I can still open both the .cbr and .cbz in calibre, but when I import, the .cbr gives me the "not a zip file" error I posted previously. But the .cbz file now gives the following error:

Code:
calibre, version 7.16.0
ERROR: Error: Error communicating with device

No META-INF/container.xml in epub

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 342, in upload_books
  File "calibre\devices\kobo\driver.py", line 2270, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 152, in _modify_epub
  File "calibre_plugins.kobotouch_extended.container", line 117, in __init__
  File "calibre\ebooks\oeb\polish\container.py", line 1205, in __init__
calibre.ebooks.oeb.polish.container.InvalidEpub: No META-INF/container.xml in epub
Not sure if this confirms there's something wrong with the underlying file for importing to kobo? Although, the file is just a folder with some jpg files in it so not sure why it would be?
New-Kobo-User is offline   Reply With Quote