Got same problem as Leonatus, after long time trying to solve problem, uninstalled Calibre, then installed again, and > it's working!
If you connect your Kobo Glo, plugin is working, but after Calibre restart got same problem, so the best way to solve this is to uninstall > install Calibre > convert all you need to .kepub.
Hope this solution will help to resolve all problems, test it and reply please.
Got same problem as Leonatus, after long time trying to solve problem, uninstalled Calibre, then installed again, and > it's working!
If you connect your Kobo Glo, plugin is working, but after Calibre restart got same problem, so the best way to solve this is to uninstall > install Calibre > convert all you need to .kepub.
Hope this solution will help to resolve all problems, test it and reply please.
The driver shouldn't just stop working. If it does, it would be better to work out why than just uninstalling reinstalling calibre. It's very likely there was an error somewhere along the way that wasn't displayed. Running calibre in debug mode will show these errors. Or, if there is error, give a view of what is actually happening.
calibre Debug log
calibre 2.83 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: KePub Input (2, 7, 3) && KePub Metadata Reader (2, 7, 1) && KePub Output (2, 7, 1) && KePub Metadata Writer (2, 7, 1) && Kobo Utilities (2, 5, 2) && KoboTouchExtended (2, 8, 2)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.6235294118 x 94.5931034483
Starting up...
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.8 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.8 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.8 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.8 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
Started up in 4.24 seconds with 119 books
Worker Launch took: 0.0719997882843
Job: 1 Convert book 1 of 1 (Real Food) finished
Convert book 1 of 1 (Real Food)
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
cover: u'C:\\CalibreData\\Temporary\\calibre_wmp8hz\\midq m9.jpeg'
enable_heuristics: True
verbose: 2
read_metadata_from_opf: u'C:\\CalibreData\\Temporary\\calibre_wmp8hz\\eece ao.opf'
smarten_punctuation: True
remove_paragraph_spacing: True
output_profile: 'kobo'
Resolved conversion options
calibre version: 2.83.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:\\CalibreData\\Temporary\\calibre_wmp8hz\\midq m9.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': True,
'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 0x00000000062F2048>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'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.KoboReaderOutput object at 0x00000000062F2780>,
'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:\\CalibreData\\Temporary\\calibre_wmp8hz\\eece ao.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': True,
'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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\CalibreData\Temporary\calibre_wmp8hz\1eu1le.epu b
Parsing all content...
Parsing OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 10879, Average words per section is: 5439, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 447, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 4510, Average words per section is: 2255, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 499, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 7326, Average words per section is: 3663, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 336, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 8981, Average words per section is: 4490, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 238, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 3738, Average words per section is: 1869, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 276, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 11288, Average words per section is: 5644, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 206, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 7186, Average words per section is: 3593, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 444, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 1942, Average words per section is: 971, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 335, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/stylesheet.css ...
Parsing OEBPS/html/18_Appreciation.xhtml ...
********* Heuristic processing HTML *********
not enough paragraph markers, adding now
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 106, Average words per section is: 106, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 647, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Initial parse failed, using more forgiving parsers
Parsing OEBPS/html/18_Appreciation.xhtml as HTML
Parsing OEBPS/nav.xhtml ...
********* Heuristic processing HTML *********
not enough paragraph markers, adding now
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 701, Average words per section is: 701, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 47, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Initial parse failed, using more forgiving parsers
Parsing OEBPS/nav.xhtml as HTML
Parsing OEBPS/html/19_Glossary.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 2569, Average words per section is: 2569, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 243, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/20_Notes.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 6416, Average words per section is: 6416, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 245, calculated with spanned_html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/05_Contents.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 375, Average words per section is: 375, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 116, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/02_By_same.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/03_Title_Page.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/Cover.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/21_Bibliography.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1190, Average words per section is: 1190, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 129, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/22a_Index.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 162, Average words per section is: 162, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 74, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/04_Copyright_Page.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 237, Average words per section is: 237, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 72, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/22_Index.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 4766, Average words per section is: 4766, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 113, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/06_Foreword.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1115, Average words per section is: 1115, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 446, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/07_Introduction.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1799, Average words per section is: 1799, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 517, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/01_Fm1.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 161, Average words per section is: 161, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 53, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 13037, Average words per section is: 6518, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 480, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/00_FM.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 392, Average words per section is: 392, Marked up 0 chapters
Hard line breaks check returned False
Median line length is 48, calculated with html format
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 3
found 2 pre-existing headings
uppercase had 3 hits - 3 chapters with no title, 0 chapters with titles, 0.0 percent.
Marked 2 headings, Searching for chapters with Uppercase Characters
marked 3 chapters. - GOOD THINGS IN MILK
marked 4 chapters. - FLORAL MILK AND HERBAL CHEESE
marked 5 chapters. - NOT QUITE RAW
Total wordcount is: 14675, Average words per section is: 2935, Marked up 5 chapters
Hard line breaks check returned False
Median line length is 451, calculated with html format
Fixing hyphenated content
Formatting scene breaks
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
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 63 items of level: div_1
Found 2547 items of level: p_1
Found 371 items of level: p_2
div_1 left margin stats: Counter({u'': 21})
div_1 right margin stats: Counter({u'': 21})
p_1 left margin stats: Counter({u'1.5em': 1213, u'0': 974, u'2.3em': 140, u'2.4em': 77, u'1em': 73, u'1.75em': 62, u'7.75em': 6, u'10.5em': 1, u'3.5em': 1})
p_1 right margin stats: Counter({u'0': 2543, u'1em': 2, u'12em': 1, u'0.25em': 1})
p_2 left margin stats: Counter({u'0': 184, u'2.4em': 132, u'1.5em': 22, u'2.5em': 12, u'2em': 11, u'1em': 10})
p_2 right margin stats: Counter({u'0': 371})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/toc.ncx' from manifest
Trimming u'OEBPS/nav.xhtml' from manifest
Creating KePub Output...
Rescaling image from 900x326 to 512x185 OEBPS/html/images/152_1.jpg
Rescaling image from 683x1024 to 457x686 cover.jpeg
Rescaling image from 683x1024 to 457x686 OEBPS/html/images/cover.jpg
Rescaling image from 900x348 to 512x198 OEBPS/html/images/232_1.jpg
Rescaling image from 900x693 to 512x395 OEBPS/html/images/285_1.jpg
Rescaling image from 703x900 to 512x656 OEBPS/html/images/352_1.jpg
Rescaling image from 784x1200 to 448x686 OEBPS/html/images/5_1.jpg
Rescaling image from 900x354 to 512x201 OEBPS/html/images/84_1.jpg
Rescaling image from 900x336 to 512x191 OEBPS/html/images/91_1.jpg
Rescaling image from 900x472 to 512x268 OEBPS/html/images/60_1.jpg
Rescaling image from 900x384 to 512x218 OEBPS/html/images/192_1.jpg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml...
No large trees found
Looking for large trees in OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml...
No large trees found
Looking for large trees in OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml...
No large trees found
Looking for large trees in OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml...
No large trees found
Looking for large trees in OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml...
No large trees found
Looking for large trees in OEBPS/html/18_Appreciation.xhtml...
No large trees found
Looking for large trees in OEBPS/html/19_Glossary.xhtml...
No large trees found
Looking for large trees in OEBPS/html/20_Notes.xhtml...
No large trees found
Looking for large trees in OEBPS/html/05_Contents.xhtml...
No large trees found
Looking for large trees in OEBPS/html/02_By_same.xhtml...
No large trees found
Looking for large trees in OEBPS/html/03_Title_Page.xhtml...
No large trees found
Looking for large trees in OEBPS/html/Cover.xhtml...
No large trees found
Looking for large trees in OEBPS/html/21_Bibliography.xhtml...
No large trees found
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Looking for large trees in OEBPS/html/22a_Index.xhtml...
No large trees found
Split into 2 parts
Looking for large trees in OEBPS/html/04_Copyright_Page.xhtml...
No large trees found
Looking for large trees in OEBPS/html/22_Index.xhtml...
No large trees found
Looking for large trees in OEBPS/html/06_Foreword.xhtml...
No large trees found
Looking for large trees in OEBPS/html/07_Introduction.xhtml...
No large trees found
Looking for large trees in OEBPS/html/01_Fm1.xhtml...
No large trees found
Looking for large trees in OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml...
No large trees found
Looking for large trees in OEBPS/html/00_FM.xhtml...
No large trees found
Looking for large trees in OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml...
No large trees found
Removing anchor from TOC href: OEBPS/html/22a_Index_split_000.xhtml#idpage_331
Copying file 'C:\CalibreData\Temporary\calibre_wmp8hz\8mc9jr_Ke PubOutputPluginInfo' to 'C:\CalibreData\Temporary\calibre_wmp8hz\bqdh7w_ep ub_container' as 'plugininfo.kte'
{'no-hyphens': False, 'extended_kepub_features': True, 'hyphenate': True, 'smarten_punctuation': False, 'replace_lang': True, 'clean_markup': True}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file OEBPS/html/00_FM.xhtml
Forcing cleanup for file OEBPS/html/01_Fm1.xhtml
Forcing cleanup for file OEBPS/html/02_By_same.xhtml
Forcing cleanup for file OEBPS/html/03_Title_Page.xhtml
Forcing cleanup for file OEBPS/html/04_Copyright_Page.xhtml
Forcing cleanup for file OEBPS/html/05_Contents.xhtml
Forcing cleanup for file OEBPS/html/06_Foreword.xhtml
Forcing cleanup for file OEBPS/html/07_Introduction.xhtml
Forcing cleanup for file OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml
Forcing cleanup for file OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml
Forcing cleanup for file OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml
Forcing cleanup for file OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml
Forcing cleanup for file OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml
Forcing cleanup for file OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml
Forcing cleanup for file OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml
Forcing cleanup for file OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml
Forcing cleanup for file OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml
Forcing cleanup for file OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml
Forcing cleanup for file OEBPS/html/18_Appreciation.xhtml
Forcing cleanup for file OEBPS/html/19_Glossary.xhtml
Forcing cleanup for file OEBPS/html/20_Notes.xhtml
Forcing cleanup for file OEBPS/html/21_Bibliography.xhtml
Forcing cleanup for file OEBPS/html/22_Index.xhtml
Forcing cleanup for file OEBPS/html/22a_Index_split_000.xhtml
Forcing cleanup for file OEBPS/html/22a_Index_split_001.xhtml
Forcing cleanup for file OEBPS/html/Cover.xhtml
Forcing cleanup for file titlepage.xhtml
Cleaning markup for file OEBPS/html/00_FM.xhtml
Cleaning markup for file OEBPS/html/01_Fm1.xhtml
Cleaning markup for file OEBPS/html/02_By_same.xhtml
Cleaning markup for file OEBPS/html/03_Title_Page.xhtml
Cleaning markup for file OEBPS/html/04_Copyright_Page.xhtml
Cleaning markup for file OEBPS/html/05_Contents.xhtml
Cleaning markup for file OEBPS/html/06_Foreword.xhtml
Cleaning markup for file OEBPS/html/07_Introduction.xhtml
Cleaning markup for file OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml
Cleaning markup for file OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml
Cleaning markup for file OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml
Cleaning markup for file OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml
Cleaning markup for file OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml
Cleaning markup for file OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml
Cleaning markup for file OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml
Cleaning markup for file OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml
Cleaning markup for file OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml
Cleaning markup for file OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml
Cleaning markup for file OEBPS/html/18_Appreciation.xhtml
Cleaning markup for file OEBPS/html/19_Glossary.xhtml
Cleaning markup for file OEBPS/html/20_Notes.xhtml
Cleaning markup for file OEBPS/html/21_Bibliography.xhtml
Cleaning markup for file OEBPS/html/22_Index.xhtml
Cleaning markup for file OEBPS/html/22a_Index_split_000.xhtml
Cleaning markup for file OEBPS/html/22a_Index_split_001.xhtml
Cleaning markup for file OEBPS/html/Cover.xhtml
Cleaning markup for file titlepage.xhtml
Copying file 'C:\CalibreData\Temporary\calibre_wmp8hz\kepub_myx 8u6_hyphenate' to 'C:\CalibreData\Temporary\calibre_wmp8hz\bqdh7w_ep ub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file OEBPS/html/00_FM.xhtml
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (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 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1252, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 131, in convert
File "calibre_plugins.kepubout.common", line 103, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Convert book 1 of 1 (Real Food)
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
cover: u'C:\\CalibreData\\Temporary\\calibre_wmp8hz\\midq m9.jpeg'
enable_heuristics: True
verbose: 2
read_metadata_from_opf: u'C:\\CalibreData\\Temporary\\calibre_wmp8hz\\eece ao.opf'
smarten_punctuation: True
remove_paragraph_spacing: True
output_profile: 'kobo'
Resolved conversion options
calibre version: 2.83.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:\\CalibreData\\Temporary\\calibre_wmp8hz\\midq m9.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': True,
'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 0x00000000062F2048>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'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.KoboReaderOutput object at 0x00000000062F2780>,
'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:\\CalibreData\\Temporary\\calibre_wmp8hz\\eece ao.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': True,
'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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\CalibreData\Temporary\calibre_wmp8hz\1eu1le.epu b
Parsing all content...
Parsing OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 10879, Average words per section is: 5439, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 447, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 4510, Average words per section is: 2255, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 499, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 7326, Average words per section is: 3663, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 336, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 8981, Average words per section is: 4490, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 238, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 3738, Average words per section is: 1869, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 276, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 11288, Average words per section is: 5644, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 206, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 7186, Average words per section is: 3593, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 444, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 2 pre-existing headings
Total wordcount is: 1942, Average words per section is: 971, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 335, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/stylesheet.css ...
Parsing OEBPS/html/18_Appreciation.xhtml ...
********* Heuristic processing HTML *********
not enough paragraph markers, adding now
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 106, Average words per section is: 106, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 647, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Initial parse failed, using more forgiving parsers
Parsing OEBPS/html/18_Appreciation.xhtml as HTML
Parsing OEBPS/nav.xhtml ...
********* Heuristic processing HTML *********
not enough paragraph markers, adding now
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 701, Average words per section is: 701, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 47, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Initial parse failed, using more forgiving parsers
Parsing OEBPS/nav.xhtml as HTML
Parsing OEBPS/html/19_Glossary.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 2569, Average words per section is: 2569, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 243, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/20_Notes.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 6416, Average words per section is: 6416, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 245, calculated with spanned_html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/05_Contents.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 375, Average words per section is: 375, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 116, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/02_By_same.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/03_Title_Page.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/Cover.xhtml ...
********* Heuristic processing HTML *********
flow is too short, not running heuristics
Parsing OEBPS/html/21_Bibliography.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1190, Average words per section is: 1190, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 129, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/22a_Index.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 162, Average words per section is: 162, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 74, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/04_Copyright_Page.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 237, Average words per section is: 237, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 72, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/22_Index.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 4766, Average words per section is: 4766, Marked up 1 chapters
Hard line breaks check returned True
Median line length is 113, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/06_Foreword.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1115, Average words per section is: 1115, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 446, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/07_Introduction.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 1 pre-existing headings
Total wordcount is: 1799, Average words per section is: 1799, Marked up 1 chapters
Hard line breaks check returned False
Median line length is 517, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/01_Fm1.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 161, Average words per section is: 161, Marked up 0 chapters
Hard line breaks check returned True
Median line length is 53, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 2
found 2 pre-existing headings
Total wordcount is: 13037, Average words per section is: 6518, Marked up 2 chapters
Hard line breaks check returned False
Median line length is 480, calculated with html format
Fixing hyphenated content
Formatting scene breaks
Parsing OEBPS/html/00_FM.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 1
found 0 pre-existing headings
Total wordcount is: 392, Average words per section is: 392, Marked up 0 chapters
Hard line breaks check returned False
Median line length is 48, calculated with html format
Fixing hyphenated content
Looking for more split points based on punctuation, currently have 0
Formatting scene breaks
Parsing OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml ...
********* Heuristic processing HTML *********
There are 0 blank lines. 0.0 percent blank
minimum chapters required are: 3
found 2 pre-existing headings
uppercase had 3 hits - 3 chapters with no title, 0 chapters with titles, 0.0 percent.
Marked 2 headings, Searching for chapters with Uppercase Characters
marked 3 chapters. - GOOD THINGS IN MILK
marked 4 chapters. - FLORAL MILK AND HERBAL CHEESE
marked 5 chapters. - NOT QUITE RAW
Total wordcount is: 14675, Average words per section is: 2935, Marked up 5 chapters
Hard line breaks check returned False
Median line length is 451, calculated with html format
Fixing hyphenated content
Formatting scene breaks
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
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 63 items of level: div_1
Found 2547 items of level: p_1
Found 371 items of level: p_2
div_1 left margin stats: Counter({u'': 21})
div_1 right margin stats: Counter({u'': 21})
p_1 left margin stats: Counter({u'1.5em': 1213, u'0': 974, u'2.3em': 140, u'2.4em': 77, u'1em': 73, u'1.75em': 62, u'7.75em': 6, u'10.5em': 1, u'3.5em': 1})
p_1 right margin stats: Counter({u'0': 2543, u'1em': 2, u'12em': 1, u'0.25em': 1})
p_2 left margin stats: Counter({u'0': 184, u'2.4em': 132, u'1.5em': 22, u'2.5em': 12, u'2em': 11, u'1em': 10})
p_2 right margin stats: Counter({u'0': 371})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/toc.ncx' from manifest
Trimming u'OEBPS/nav.xhtml' from manifest
Creating KePub Output...
Rescaling image from 900x326 to 512x185 OEBPS/html/images/152_1.jpg
Rescaling image from 683x1024 to 457x686 cover.jpeg
Rescaling image from 683x1024 to 457x686 OEBPS/html/images/cover.jpg
Rescaling image from 900x348 to 512x198 OEBPS/html/images/232_1.jpg
Rescaling image from 900x693 to 512x395 OEBPS/html/images/285_1.jpg
Rescaling image from 703x900 to 512x656 OEBPS/html/images/352_1.jpg
Rescaling image from 784x1200 to 448x686 OEBPS/html/images/5_1.jpg
Rescaling image from 900x354 to 512x201 OEBPS/html/images/84_1.jpg
Rescaling image from 900x336 to 512x191 OEBPS/html/images/91_1.jpg
Rescaling image from 900x472 to 512x268 OEBPS/html/images/60_1.jpg
Rescaling image from 900x384 to 512x218 OEBPS/html/images/192_1.jpg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml...
No large trees found
Looking for large trees in OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml...
No large trees found
Looking for large trees in OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml...
No large trees found
Looking for large trees in OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml...
No large trees found
Looking for large trees in OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml...
No large trees found
Looking for large trees in OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml...
No large trees found
Looking for large trees in OEBPS/html/18_Appreciation.xhtml...
No large trees found
Looking for large trees in OEBPS/html/19_Glossary.xhtml...
No large trees found
Looking for large trees in OEBPS/html/20_Notes.xhtml...
No large trees found
Looking for large trees in OEBPS/html/05_Contents.xhtml...
No large trees found
Looking for large trees in OEBPS/html/02_By_same.xhtml...
No large trees found
Looking for large trees in OEBPS/html/03_Title_Page.xhtml...
No large trees found
Looking for large trees in OEBPS/html/Cover.xhtml...
No large trees found
Looking for large trees in OEBPS/html/21_Bibliography.xhtml...
No large trees found
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Looking for large trees in OEBPS/html/22a_Index.xhtml...
No large trees found
Split into 2 parts
Looking for large trees in OEBPS/html/04_Copyright_Page.xhtml...
No large trees found
Looking for large trees in OEBPS/html/22_Index.xhtml...
No large trees found
Looking for large trees in OEBPS/html/06_Foreword.xhtml...
No large trees found
Looking for large trees in OEBPS/html/07_Introduction.xhtml...
No large trees found
Looking for large trees in OEBPS/html/01_Fm1.xhtml...
No large trees found
Looking for large trees in OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml...
No large trees found
Looking for large trees in OEBPS/html/00_FM.xhtml...
No large trees found
Looking for large trees in OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml...
No large trees found
Removing anchor from TOC href: OEBPS/html/22a_Index_split_000.xhtml#idpage_331
Copying file 'C:\CalibreData\Temporary\calibre_wmp8hz\8mc9jr_Ke PubOutputPluginInfo' to 'C:\CalibreData\Temporary\calibre_wmp8hz\bqdh7w_ep ub_container' as 'plugininfo.kte'
{'no-hyphens': False, 'extended_kepub_features': True, 'hyphenate': True, 'smarten_punctuation': False, 'replace_lang': True, 'clean_markup': True}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file OEBPS/html/00_FM.xhtml
Forcing cleanup for file OEBPS/html/01_Fm1.xhtml
Forcing cleanup for file OEBPS/html/02_By_same.xhtml
Forcing cleanup for file OEBPS/html/03_Title_Page.xhtml
Forcing cleanup for file OEBPS/html/04_Copyright_Page.xhtml
Forcing cleanup for file OEBPS/html/05_Contents.xhtml
Forcing cleanup for file OEBPS/html/06_Foreword.xhtml
Forcing cleanup for file OEBPS/html/07_Introduction.xhtml
Forcing cleanup for file OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml
Forcing cleanup for file OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml
Forcing cleanup for file OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml
Forcing cleanup for file OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml
Forcing cleanup for file OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml
Forcing cleanup for file OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml
Forcing cleanup for file OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml
Forcing cleanup for file OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml
Forcing cleanup for file OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml
Forcing cleanup for file OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml
Forcing cleanup for file OEBPS/html/18_Appreciation.xhtml
Forcing cleanup for file OEBPS/html/19_Glossary.xhtml
Forcing cleanup for file OEBPS/html/20_Notes.xhtml
Forcing cleanup for file OEBPS/html/21_Bibliography.xhtml
Forcing cleanup for file OEBPS/html/22_Index.xhtml
Forcing cleanup for file OEBPS/html/22a_Index_split_000.xhtml
Forcing cleanup for file OEBPS/html/22a_Index_split_001.xhtml
Forcing cleanup for file OEBPS/html/Cover.xhtml
Forcing cleanup for file titlepage.xhtml
Cleaning markup for file OEBPS/html/00_FM.xhtml
Cleaning markup for file OEBPS/html/01_Fm1.xhtml
Cleaning markup for file OEBPS/html/02_By_same.xhtml
Cleaning markup for file OEBPS/html/03_Title_Page.xhtml
Cleaning markup for file OEBPS/html/04_Copyright_Page.xhtml
Cleaning markup for file OEBPS/html/05_Contents.xhtml
Cleaning markup for file OEBPS/html/06_Foreword.xhtml
Cleaning markup for file OEBPS/html/07_Introduction.xhtml
Cleaning markup for file OEBPS/html/08_CHAPTER_1_I_GROW_UP_ON_REAL_FOOD.xhtml
Cleaning markup for file OEBPS/html/09_CHAPTER_2_REAL_MILK__BUTTER__AND.xhtml
Cleaning markup for file OEBPS/html/10_CHAPTER_3_REAL_MEAT.xhtml
Cleaning markup for file OEBPS/html/11_CHAPTER_4_REAL_FISH.xhtml
Cleaning markup for file OEBPS/html/12_CHAPTER_5_REAL_FRUIT_AND_VEGETAB.xhtml
Cleaning markup for file OEBPS/html/13_CHAPTER_6_REAL_FATS.xhtml
Cleaning markup for file OEBPS/html/14_CHAPTER_7_INDUSTRIAL_FATS.xhtml
Cleaning markup for file OEBPS/html/15_CHAPTER_8_OTHER_REAL_FOODS.xhtml
Cleaning markup for file OEBPS/html/16_CHAPTER_9_BEYOND_CHOLESTEROL.xhtml
Cleaning markup for file OEBPS/html/17_CHAPTER_10_THE_OMNIVORE_S_DILEMM.xhtml
Cleaning markup for file OEBPS/html/18_Appreciation.xhtml
Cleaning markup for file OEBPS/html/19_Glossary.xhtml
Cleaning markup for file OEBPS/html/20_Notes.xhtml
Cleaning markup for file OEBPS/html/21_Bibliography.xhtml
Cleaning markup for file OEBPS/html/22_Index.xhtml
Cleaning markup for file OEBPS/html/22a_Index_split_000.xhtml
Cleaning markup for file OEBPS/html/22a_Index_split_001.xhtml
Cleaning markup for file OEBPS/html/Cover.xhtml
Cleaning markup for file titlepage.xhtml
Copying file 'C:\CalibreData\Temporary\calibre_wmp8hz\kepub_myx 8u6_hyphenate' to 'C:\CalibreData\Temporary\calibre_wmp8hz\bqdh7w_ep ub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file OEBPS/html/00_FM.xhtml
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (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 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1252, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 131, in convert
File "calibre_plugins.kepubout.common", line 103, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Cleaning markup for file titlepage.xhtml
Copying file 'C:\CalibreData\Temporary\calibre_wmp8hz\kepub_myx8u6_hyphenate' to 'C:\CalibreData\Temporary\calibre_wmp8hz\bqdh7w_epub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file OEBPS/html/00_FM.xhtml
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (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 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1252, in run
File "calibre_plugins.kepubout.conversion.kepub_output", line 131, in convert
File "calibre_plugins.kepubout.common", line 103, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
The marked line is where the error is happening. It's something related to the locale or some character used in the user profile name and hence the users directories including the temporary directory. There is a discussion on this ending on the previous page. The workaround is to set the environment variable "CALIBRE_TEMP_DIR" to somewhere else.
That's exactly what I did. But now, instead of two spaces, there is only one. It seems to me that the problem has to be with the justification of the Kobo.
That's exactly what I did. But now, instead of two spaces, there is only one. It seems to me that the problem has to be with the justification of the Kobo.
I think the correct thing to do for french (and that would probably solve your problem) is to add a em or en space after each dash. This way you will get a space that is consistent for every line.
Last edited by Nicolas F; 06-09-2017 at 09:10 AM.
Reason: Correction: non breaking space can change size apparently
I added "–" after each dash, this is the right thing to do, right? If so, it does not work, I have the same problem, extra spaces when the text is justified
I added "–" after each dash, this is the right thing to do, right? If so, it does not work, I have the same problem, extra spaces when the text is justified
I was sure it worked but, testing on my kobo, it doesn't sorry (I was talking about adding an emspace or an enspace, but it doesn't work).
I had never seen it before, but it seems I've got the same problem when I send the epub as kepub. (the justification in kepub seems to create a space between emdash and a word even if there is no space)
How can I fix it ? I assume that I have to edit the CSS, but which line ?
You could try adding...
orphans: 1;
widows: 1;
to the body in CSS. That would prevent some lines from being moved to the next page even when there is room. It looks like that's what's happening. If there is still extra space, you can use the patches to remove the extra space. Which Kobo do you have?
I solved the problem of another book this morning by randomly changing the CSS, but I can't tell which line has solved the problem : it's definitely possible
It was a CSS of 2000 lines, I believe I removed all text-indent and margins then add paragraph break. But I did not manage to do it again