Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2020, 12:19 PM   #1
necromancyr
Junior Member
necromancyr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Android Tablet
CalibreDB add on Win10 - missing something?

I'm getting the following errors when trying to do a simple calibredb add command in Windows 10. The book gets added, just with no cover or metadata. I feel like something simple is missing - i.e., the python scrips or tools it's trying to use - but not certain how to address it.

Code:
Traceback (most recent call last):
  File "calibre\ebooks\metadata\epub.py", line 161, in get_zip_reader
  File "calibre\utils\zipfile.py", line 776, in __init__
  File "calibre\utils\zipfile.py", line 811, in _GetContents
  File "calibre\utils\zipfile.py", line 826, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 428, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 195, in get_metadata
  File "calibre\ebooks\metadata\epub.py", line 217, in get_metadata
  File "calibre\ebooks\metadata\epub.py", line 164, in get_zip_reader
  File "calibre\utils\localunzip.py", line 264, in __init__
  File "calibre\utils\localunzip.py", line 240, in _extractall
ValueError: Not a ZIP file
necromancyr is offline   Reply With Quote
Old 10-15-2020, 12:56 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
It looks that the EPUB file you are trying to import has a problem. It may be corrupted somehow. Some types of DRM might also produce this result.

You did not state which version of calibre you are using. The most commonly used DRM removal plugin is not compatible with calibre 5.
jhowell is offline   Reply With Quote
Advert
Old 10-17-2020, 01:25 PM   #3
necromancyr
Junior Member
necromancyr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Android Tablet
This was it - a (few) bad ePubs to test things out with. Got it working now! Appreciate the help/pointer - never would have guess that!
necromancyr is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
missing books after update to win10 pricespringer Library Management 8 04-09-2020 08:07 PM
calibredb add questions jindroush Related Tools 7 01-31-2018 12:10 AM
Add Series to Title in CalibreDB? phossler Calibre 4 01-27-2015 09:19 AM
calibredb add problem jmwatte Calibre 6 10-17-2014 02:30 AM
calibredb add -- how to add additional metadata? TuxGirl Calibre 16 12-29-2011 01:01 AM


All times are GMT -4. The time now is 01:20 AM.


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