Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2013, 12:55 PM   #1
tamhas
Zealot
tamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheese
 
Posts: 129
Karma: 1000
Join Date: Feb 2011
Device: Kindle Paperwhite
epub to mobi problem

95+% of my conversion is mobi to epub because I get the book and share it with my wife's Nook, but she got an epub recently from an author and I tried converting it to mobi with Calibre 1.11.0 The details I got were:
Spoiler:

calibre, version 1.11.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Genie For Hire A Biff Andromeda Mystery)

Convert book 1 of 1 (Genie For Hire A Biff Andromeda Mystery)
Resolved conversion options
calibre version: 1.11.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calib re_jgepnn\\la0ssj.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0423A770>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0423AAB0>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calib re_jgepnn\\gcxnr3.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\ADMINI~1\AppData\Local\Temp\calibre_jgepn n\q_rcen.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Traceback (most recent call last):
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 181, in convert
File "site-packages\calibre\utils\zipfile.py", line 751, in __init__
File "site-packages\calibre\utils\zipfile.py", line 786, in _GetContents
File "site-packages\calibre\utils\zipfile.py", line 801, in _RealGetContents
BadZipfile: File is not a zip file

Python function terminated unexpectedly
Not a ZIP file (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1035, in run
File "site-packages\calibre\customize\conversion.py", line 241, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 188, in convert
File "site-packages\calibre\utils\localunzip.py", line 223, in extractall
File "site-packages\calibre\utils\localunzip.py", line 210, in _extractall
ValueError: Not a ZIP file

Clues?

Last edited by theducks; 11-16-2013 at 03:24 PM. Reason: Wrapped long paste in Spoiler
tamhas is offline   Reply With Quote
Old 11-16-2013, 04:09 PM   #2
JimmyR
ɴₐɴ
JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.JimmyR ought to be getting tired of karma fortunes by now.
 
JimmyR's Avatar
 
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
Either a corrupt file or it's DRM protected.

What happens when you try to view the epub in Calibre's viewer?

https://www.google.com/search?hl=en&...0zip%20file%22
JimmyR is offline   Reply With Quote
Old 11-16-2013, 08:48 PM   #3
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
Quote:
BadZipfile: File is not a zip file
I vote for corrupt file.
jgaiser is offline   Reply With Quote
Old 11-17-2013, 12:31 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by tamhas View Post
95+% of my conversion is mobi to epub because I get the book and share it with my wife's Nook, but she got an epub recently from an author and I tried converting it to mobi with Calibre 1.11.0
How does it look in calibre's viewer?
DoctorOhh is offline   Reply With Quote
Old 11-19-2013, 12:21 PM   #5
tamhas
Zealot
tamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheese
 
Posts: 129
Karma: 1000
Join Date: Feb 2011
Device: Kindle Paperwhite
I get the same error in the viewer, so I guess it is the file. Thanks.
tamhas is offline   Reply With Quote
Old 11-19-2013, 02:10 PM   #6
BetterRed
null operator (he/him)
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: 21,634
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Long shot - this has worked for me on occasions

Rename a copy of the .epub to .zip and try to repair it - there are several free repair kits - Google 'repair zip file', they are not all the same, so its worth trying a couple.

You'll need to rename the repaired .zip back to epub and try it

BR
BetterRed is offline   Reply With Quote
Old 11-24-2013, 12:37 PM   #7
tamhas
Zealot
tamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheesetamhas can extract oil from cheese
 
Posts: 129
Karma: 1000
Join Date: Feb 2011
Device: Kindle Paperwhite
We have received a new copy of the book from the author, remade in some way, and the new one reads fine, so there must have just been a problem with the first one. Thanks all.
tamhas is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi to ePub Problem Maillemom Conversion 10 09-30-2013 11:01 AM
ePub to new mobi problem AlexBell Conversion 4 11-22-2012 07:32 PM
EPUB to MOBI problem Utino Conversion 2 11-01-2012 08:14 AM
Mobi to epub problem Chatti Patti Conversion 2 03-15-2011 09:33 AM
Epub to LRF no problem, Epub to Mobi indexerror Rogier Calibre 3 06-09-2009 11:42 AM


All times are GMT -4. The time now is 03:05 AM.


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