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 08-08-2020, 09:36 AM   #1
Diomedeidae
Junior Member
Diomedeidae began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2020
Device: PC
Smile Errors When Opening imported Files

Afternoon.

I have this odd error. If I import a book that ends up being a duplicate, corrupts it. If I say do not add duplicates, it put in empty books. IE no formats are entered.

If you select the the first file on the options list it will not corrupt this, but if you are consolidating two databases or the likes of, doing this on 100's of books is just not going to happen.

This is a copy of the error. It is not a zip file.


Failed to convert book: X:\Calibre\Karen Abbott\American Rose (37176)\American Rose - Karen Abbott.epub with error:
Failed to initialize plugin: '****\\AppData\\Roaming\\calibre\\plugins\\Fantast ic Fiction Adults.zip'
InputFormatPlugin: EPUB Input running
on X:\Calibre\Karen Abbott\American Rose (37176)\American Rose - Karen Abbott.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 262, in convert
File "site-packages\calibre\utils\zipfile.py", line 776, in __init__
File "site-packages\calibre\utils\zipfile.py", line 811, in _GetContents
File "site-packages\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 "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 89, in <module>
File "site.py", line 84, in main
File "site.py", line 55, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 855, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 846, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 823, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 63, in extract_book
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 269, in convert
File "site-packages\calibre\utils\localunzip.py", line 253, in extractall
File "site-packages\calibre\utils\localunzip.py", line 235, in _extractall
File "site-packages\calibre\utils\localunzip.py", line 178, in copy_compressed_file
ValueError: Invalid ZIP file, local header is damaged
Diomedeidae is offline   Reply With Quote
Old 08-08-2020, 09:37 AM   #2
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: 43,897
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to that error the file you are trying to view is corrupted, or not actually an epub file. When adding files calibre simply copies them byte for byte making NO changes to the files. The only exception being if you have installed thrid party plugins like the DRM removal plugin.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-08-2020, 10:18 AM   #3
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: 29,837
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
(the path is on) X: ??
Is this a network(ed) drive?
theducks is offline   Reply With Quote
Old 08-18-2020, 06:03 AM   #4
Diomedeidae
Junior Member
Diomedeidae began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2020
Device: PC
It is on a networked drive. It is on my NAS.
They worked before i started copying them, which is odd. As I mentioned in my initial post, if I click on a specific file to import it works. Very odd.
Diomedeidae is offline   Reply With Quote
Old 08-18-2020, 06:09 AM   #5
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: 43,897
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/faq...rked-drive-nas
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors in opening Sigil manon123 Sigil 15 08-01-2020 11:05 AM
Errors opening books and lost last page read bowieb Library Management 5 12-22-2019 08:57 PM
Import log - files not imported jataadroid Library Management 4 01-24-2018 01:03 AM
sorting imported files BartB Editor 7 04-29-2014 03:15 AM
Determining which files were not imported during a bulk import valunthar Library Management 3 06-17-2011 08:51 PM


All times are GMT -4. The time now is 02:13 PM.


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