08-10-2015, 04:16 PM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Aug 2015
Device: Samsung Galaxy Note
|
Error Converting docx to epub
When trying to convert a docx to epub i'm getting this error. started happening today. if i try to convert it to modi i get the same.
No output file made Code:
calibre, version 2.34.0 (win32, isfrozen: True) Konverteringen misslyckades: Misslyckades: Konvertera bok 2 av 2 (Desolate Era - Book 05 - Chapter 20) Konvertera bok 2 av 2 (Desolate Era - Book 05 - Chapter 20) Resolved conversion options calibre version: 2.34.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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': None, 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'docx_no_cover': False, 'docx_no_pagebreaks_between_notes': False, 'dont_split_on_page_breaks': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'epub_flatten': False, 'epub_inline_toc': False, 'epub_toc_at_end': False, 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': u'', 'fix_indents': True, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x03500DB0>, '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, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x03500FB0>, 'page_breaks_before': u'/', 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\\Users\\Drago87\\AppData\\Local\\Temp\\calibre_345iid\\ae_hcx.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, '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: DOCX Input running on C:\Users\Drago87\AppData\Local\Temp\calibre_345iid\5ncnip.docx Converting Word markup to HTML Converting styles to CSS Python function terminated unexpectedly Inherit instance has no attribute '__float__' (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 193, 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 1042, in run File "site-packages\calibre\customize\conversion.py", line 241, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\docx_input.py", line 31, in convert File "site-packages\calibre\ebooks\docx\to_html.py", line 199, in __call__ File "site-packages\calibre\ebooks\docx\styles.py", line 427, in generate_classes File "site-packages\calibre\ebooks\docx\char_styles.py", line 249, in css AttributeError: Inherit instance has no attribute '__float__' Last edited by drago87; 08-10-2015 at 04:21 PM. |
08-10-2015, 08:56 PM | #2 |
Grand Sorcerer
Posts: 12,771
Karma: 75003038
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
Advert | |
|
08-11-2015, 12:34 AM | #3 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This should fix it: https://github.com/kovidgoyal/calibr...a4214a2c577170
|
08-11-2015, 09:14 AM | #4 |
Member
Posts: 16
Karma: 10
Join Date: Aug 2015
Device: Samsung Galaxy Note
|
Is that something i can change myself or do i need to wait for an update?
|
08-11-2015, 11:22 AM | #5 |
Well trained by Cats
Posts: 30,453
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Advert | |
|
08-11-2015, 03:32 PM | #6 |
Zealot
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
Since you are a new member, you may not know that updates occur every Friday, unless Kovid is taking a short vacation with his family. As of today (Tuesday), the update is only 3 days away.
Last edited by signum; 08-11-2015 at 03:33 PM. Reason: misplaced modifier - ambiguous |
08-11-2015, 04:27 PM | #7 |
Member
Posts: 16
Karma: 10
Join Date: Aug 2015
Device: Samsung Galaxy Note
|
Good to know then i'll use an online converter for now
|
08-11-2015, 05:24 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The specific issue here is a regression -- which means last week's version of calibre will work just fine.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Received Error Message Converting .docx to AZW3 | jlcunha | Calibre | 6 | 10-17-2014 05:05 PM |
Error with converting docx to epub | ssflwp | Calibre | 3 | 07-05-2014 07:39 AM |
Converting a play in docx to epub | sir_despard | Conversion | 1 | 01-29-2014 09:00 AM |
Docx to Epub conversion error with 1.5 | dapjukebox | Calibre | 6 | 10-03-2013 09:18 AM |
Converting .docx to ePub and combining | wildchild1954 | ePub | 18 | 08-02-2011 02:32 PM |