06-17-2020, 01:04 AM | #361 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
What's the worst that could possibly go wrong?!
|
06-17-2020, 10:56 AM | #362 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
3.2.9 is not working.
Code:
calibre, version 4.18.0 (win32, embedded-python: True) Conversion error: Failed: Convert book 1 of 1 (Alien Thrill Seeker (Adrenaline Rush Book 2)) Convert book 1 of 1 (Alien Thrill Seeker (Adrenaline Rush Book 2)) Conversion options changed from defaults: margin_right: -0.1 expand_css: True margin_top: -0.1 output_profile: u'tablet' cover: u'C:\\Users\\help\\AppData\\Local\\Temp\\calibre_7_5jbz\\omihmy.jpeg' preserve_cover_aspect_ratio: True disable_font_rescaling: True italicize_common_cases: False delete_blank_paragraphs: False subset_embedded_fonts: True margin_bottom: -0.1 minimum_line_height: 100.0 keep_ligatures: True margin_left: -0.1 read_metadata_from_opf: u'C:\\Users\\help\\AppData\\Local\\Temp\\calibre_7_5jbz\\7teje3.opf' format_scene_breaks: False markup_chapter_headings: False insert_blank_line_size: 0.0 fix_indents: False verbose: 2 dehyphenate: False Resolved conversion options calibre version: 4.18.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': u'C:\\Users\\help\\AppData\\Local\\Temp\\calibre_7_5jbz\\omihmy.jpeg', 'debug_pipeline': None, 'dehyphenate': False, 'delete_blank_paragraphs': False, 'disable_font_rescaling': True, '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, 'epub_version': u'2', 'expand_css': True, 'extra_css': None, 'extract_to': None, 'filter_css': u'', 'fix_indents': False, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': False, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x000002AF55FD4EC8>, 'insert_blank_line': False, 'insert_blank_line_size': 0.0, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': False, 'keep_ligatures': True, 'kepub_clean_markup': True, 'kepub_disable_hyphenation': False, 'kepub_hyphenate': True, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': -0.1, 'margin_left': -0.1, 'margin_right': -0.1, 'margin_top': -0.1, 'markup_chapter_headings': False, 'max_toc_links': 50, 'minimum_line_height': 100.0, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.TabletOutput object at 0x000002AF55F71388>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': True, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'C:\\Users\\help\\AppData\\Local\\Temp\\calibre_7_5jbz\\7teje3.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': True, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'transform_css_rules': '[]', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\help\AppData\Local\Temp\calibre_7_5jbz\ienfek.azw3 Found KF8 MOBI of type u'standalone' Extracting text... Parsing all content... Parsing text/part0014.html ... Parsing text/part0026.html ... Parsing text/part0005.html ... Parsing text/part0023.html ... Parsing text/part0011.html ... Parsing text/part0022.html ... Parsing text/part0017.html ... Parsing text/part0010.html ... Parsing text/part0004.html ... Parsing text/part0029.html ... Parsing text/part0003.html ... Parsing text/part0019.html ... Parsing text/part0002.html ... Parsing text/part0018.html ... Parsing text/part0000.html ... Parsing text/part0001.html ... Parsing styles/0001.css ... Parsing text/part0016.html ... Parsing text/part0027.html ... Parsing text/part0012.html ... Parsing styles/0003.css ... Parsing text/part0033.html ... Parsing text/part0039.html ... Parsing text/part0021.html ... Parsing text/part0024.html ... Parsing text/part0037.html ... Parsing text/part0036.html ... Parsing text/part0038.html ... Parsing text/part0035.html ... Parsing text/part0009.html ... Parsing text/part0034.html ... Parsing text/part0020.html ... Parsing text/part0008.html ... Parsing text/part0032.html ... Parsing text/part0025.html ... Parsing text/part0031.html ... Parsing text/part0007.html ... Parsing text/part0030.html ... Parsing text/part0015.html ... Parsing text/part0006.html ... Parsing text/part0028.html ... Parsing text/part0013.html ... Reading TOC from NCX... Merging user specified metadata... Detecting structure... Detected chapter: Chapter 1 Detected chapter: Chapter 2 Detected chapter: Chapter 3 Detected chapter: Chapter 4 Detected chapter: Chapter 5 Detected chapter: Chapter 6 Detected chapter: Chapter 7 Detected chapter: Chapter 8 Detected chapter: Chapter 9 Detected chapter: Chapter 10 Detected chapter: Chapter 11 Detected chapter: Chapter 12 Detected chapter: Chapter 13 Detected chapter: Chapter 14 Detected chapter: Chapter 15 Detected chapter: Chapter 16 Detected chapter: Chapter 17 Detected chapter: Chapter 18 Detected chapter: Chapter 19 Detected chapter: Chapter 20 Detected chapter: Chapter 21 Detected chapter: Chapter 22 Detected chapter: Chapter 23 Detected chapter: Chapter 24 Detected chapter: Chapter 25 Detected chapter: Chapter 26 Detected chapter: Chapter 27 Detected chapter: Chapter 28 Detected chapter: Chapter 29 Detected chapter: Chapter 30 Detected chapter: Epilogue Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Removing fake margins... Found 32 items of level: p_4 Found 104 items of level: p_5 Found 1772 items of level: p_3 Found 78 items of level: div_5 Found 112 items of level: div_4 Found 40 items of level: div_1 Found 67 items of level: div_3 Found 79 items of level: div_2 p_4 left margin stats: Counter({u'0': 32}) p_4 right margin stats: Counter({u'0': 32}) Negative text indent detected at level p_5, ignoring this level p_3 left margin stats: Counter({u'0': 1741, u'': 31}) p_3 right margin stats: Counter({u'0': 1741, u'': 31}) div_5 left margin stats: Counter({u'': 78}) div_5 right margin stats: Counter({u'': 78}) div_4 left margin stats: Counter({u'': 110, u'25%': 2}) div_4 right margin stats: Counter({u'': 110, u'25%': 2}) div_1 left margin stats: Counter({u'': 39, u'8%': 1}) div_1 right margin stats: Counter({u'': 39, u'8%': 1}) div_3 left margin stats: Counter({u'': 67}) div_3 right margin stats: Counter({u'': 67}) div_2 left margin stats: Counter({u'': 36}) div_2 right margin stats: Counter({u'': 36}) Decreased the font fonts/00001.ttf to 48.1% of its original size Reduced total font size to 48.1% of original Cleaning up manifest... Trimming unused files from manifest... Trimming u'images/svgimg0002.svg' from manifest Trimming u'images/00008.jpeg' from manifest Creating KePub Output... 2020-06-17 15:55:24 [DEBUG] Running ePub conversion Splitting markup on page breaks and flow limits, if any... Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0014.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0026.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0005.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0023.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0011.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0022.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0017.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0010.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0004.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0029.html... No large trees found Looking for large trees in text/part0003.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0019.html... No large trees found Looking for large trees in text/part0002.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0018.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Splitting on page-break at id=calibre_pb_1 Adjusted split point to ancestor Looking for large trees in text/part0000.html... No large trees found Split into 2 parts Looking for large trees in text/part0001.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0016.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0027.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0012.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0033.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0039.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0021.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0024.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0037.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0036.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0038.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0035.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0009.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0034.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0020.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0008.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0032.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0025.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0031.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0007.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0030.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0015.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0006.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0028.html... No large trees found Splitting on page-break at id=calibre_pb_0 Adjusted split point to ancestor Looking for large trees in text/part0013.html... No large trees found 2020-06-17 15:55:25 [DEBUG] Done ePub conversion Python function terminated unexpectedly 'module' object has no attribute 'KEPubContainer' (Error Code: 1) Traceback (most recent call last): File "site.py", line 114, in main File "site.py", line 88, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 209, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1275, in run File "calibre_plugins.kepubout.conversion.kepub_output", line 108, in convert AttributeError: 'module' object has no attribute 'KEPubContainer' |
Advert | |
|
06-17-2020, 11:55 AM | #363 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@JSWolf: c.f., https://www.mobileread.com/forums/sh...postcount=2179
|
06-18-2020, 12:20 AM | #364 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
v3.2.10 is up. More and more unit tests are being included now that I know I can run arbitrary Python in calibre's environment via calibre-debug.
|
06-18-2020, 02:39 AM | #365 |
Member
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
|
Thank You!
Thanks for the new 10version - It´s working again.
|
Advert | |
|
06-20-2020, 10:12 AM | #366 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Version 3.2.11 has been posted with a fix for stripping whitespace at the left of some text chunks.
|
06-23-2020, 02:01 AM | #367 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Version 3.2.12 up with davidfor's fix for closing </p> tags in bad places
|
06-25-2020, 11:39 AM | #368 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
Sorry, don't know where to post. I have a problem with consistency with footnote with kepub and calibre. With the same html sometimes I have the pop-up (footnote 1 to 15) and all the other footnotes are just navigation footnotes (all the footnote >15). But for other book it's the first one and the other pop-up correctly.
ex with the footnote 10 (pop-up) epub Lapin<span class="footnote-anchor"><a href="part0049.html#amanuensis-note10" id="amanuensis-anchor10">(10)</a></span> kepub Lapin</span><span class="footnote-anchor"><a href="part0049.html#amanuensis-note10" id="amanuensis-anchor10"><span class="koboSpan" id="kobo.231.4">(10)</span and with the 19 (no-pop-up) epub Mor<span class="footnote-anchor"><a href="part0049.html#amanuensis-note19" id="amanuensis-anchor19">(19)</a></span> kepub Mor</span><span class="footnote-anchor"><a href="part0049.html#amanuensis-note19" id="amanuensis-anchor19"><span class="koboSpan" id="kobo.108.4">(19)</span> html of the part49html in the epub's file <p class="footnote"><a href="part0010.html#amanuensis-anchor10" id="amanuensis-note10">10</a>***xxxxxx.</p> <p class="footnote"><a href="part0015.html#amanuensis-anchor19" id="amanuensis-note19">19</a>***xxxxx.</p> Last edited by tartanpion; 06-25-2020 at 11:57 AM. |
06-25-2020, 12:56 PM | #369 | |
Bibliophagist
Posts: 35,513
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Last edited by DNSB; 06-25-2020 at 04:31 PM. |
|
06-25-2020, 04:08 PM | #370 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
The problem is that i don't see any difference between the correct pop-up footnote 10 and the incorrect footnote 19, same html, different behavior after a kepub conversion.
|
06-25-2020, 05:17 PM | #371 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
<p class="footnote"><a href="part0015.html#amanuensis-anchor19" id="amanuensis-note19">19</a>***xxxxx.</p> |
|
06-26-2020, 04:39 AM | #372 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
Quote:
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> <head> <title>22/11/63</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="../stylesheet.css" rel="stylesheet" type="text/css"/> <link href="../page_styles.css" rel="stylesheet" type="text/css"/> </head> <body class="calibre"> <p class="amanuensis-notes-horizontal-line-separator"></p> <p class="footnote"><a href="part0008.html#amanuensis-anchor3" id="amanuensis-note3">3</a>**<span class="t1">*Fat</span>*: gros, épais. <span class="t1">Cat</span>*: chat.</p> <p class="footnote"><a href="part0010.html#amanuensis-anchor10" id="amanuensis-note10">10</a>***Oswald Lucky Rabbit (Oswald, le Lapin chanceux) est un personnage de dessin animé créé par Walt Disney, précurseur de Mickey Mouse (Mickey la Souris).</p> <p class="footnote"><a href="part0015.html#amanuensis-anchor18" id="amanuensis-note18">18</a>***Avenue de la Foi et avenue de l’Espérance.</p> <p class="footnote"><a href="part0015.html#amanuensis-anchor19" id="amanuensis-note19">19</a>***Machine de bowling.</p> <p class="footnote"><a href="part0016.html#amanuensis-anchor20" id="amanuensis-note20">20</a>***Surnom d’Abraham Lincoln dont l’effigie illustre le billet américain de cinq dollars.</p> </body> </html> footnote 3,10 : pop-up 18 19 20 :no pop-up |
|
06-26-2020, 04:48 AM | #373 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@tartanpion: We probably need to see the whole book. If you read the link @DNSB gave, whether a link is interpreted as a footnote or straight depends on both the link and the destination. If the book is somewhere we can legally download it, post a link. Or the book if it is again legal to do that. Or you could use the ScambleBook plugin to produce a version that can be posted.
Also, this is not an issue with this plugin. The plugin does not make any changes to the links or anchors. This is how the device interprets the book. The link above explains the rules about how this works. |
06-26-2020, 07:35 AM | #374 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
|
Quote:
|
|
06-26-2020, 08:23 AM | #375 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I think what you're seeing may be yet another example of the problems that can occur when there isn't a one-to-one correlation between the HTML files and the TOC entries. This book is doubly "problematic". Some HTML files don't have a TOC entry at all. Other HTML files have multiple TOC entries. I corrected this in the scrambled copy you posted and now all footnotes pop-up as expected. Last edited by jackie_w; 06-26-2020 at 08:53 AM. Reason: Added scrambled epub with TOC corrected |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
catalogue builder output columns are not in the same order in the output | KWhytte | Library Management | 5 | 12-04-2012 02:03 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 03:20 PM |
Creat new Output plugin (LaTeX and/or txt2tags) | Lebewesen | Development | 3 | 11-22-2011 11:10 AM |
AZW Conversion Output Plugin | tylau0 | Plugins | 59 | 08-14-2011 10:36 PM |