View Single Post
Old 01-19-2011, 10:17 AM   #1
goldenhair
Junior Member
goldenhair began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Repeated "Ignoring missing TOC entry" when converting PDF to MOBI

Hi everyone!

I've been using Calibre for a week now and I absolutely love it (I was really impressed with how well it converted PDFs into MOBI files) but since this morning I've been having issues with formating, for seemingly no reason.

I've noticed that the MOBI files that calibre has created today all have a problem with the table of contents. At the beginning of each .MOBI, I can see the title of all the chapters and the beginning of its first sentence (including the acknowledgments). It goes on for approximately 3 pages and then gets back to normal.

This is an ebook that calibre has converted today:

Quote:
Convert book 6 of 8 (Rumors)
Resolved conversion options
calibre version: 0.7.35
{'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(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\xxxxx\\appdata\\local\\temp\\calibre_0 .7.35_tmp_nzs0wg\\calibre_0.7.35_m8tsdr.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_compress': False,
'extra_css': None,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0473E590>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_images': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0473E870>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\xxxxx\\appdata\\local\\temp\\calibre_0 .7.35_tmp_nzs0wg\\calibre_0.7.35_kdnnem.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unwrap_factor': 0.45,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on C:\Users\xxxxx\Documents\E-Books Calibre\Anna Godbersen\Rumors (53)\Rumors - Anna Godbersen.pdf
Converting file to html...
pdftohtml log:

Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\base.py", line 857, in first_pass
File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48634)
File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:72245)
File "parser.pxi", line 1417, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:71041)
File "parser.pxi", line 898, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:67581)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:64257)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:65178)
File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64521)
XMLSyntaxError: Opening and ending tag mismatch: META line 7 and head, line 8, column 8

Parsing file 'index.html' as HTML
Forcing index.html into XHTML namespace
Referenced file 'file%3a///G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html' not found
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Maximum TOC links reached, stopping.
Auto generated TOC with 50 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating MOBI Output...
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating flat CTOC ...
Ignoring missing TOC entry: TOC: Prologue --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#fm01
Ignoring missing TOC entry: TOC: One --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch01
Ignoring missing TOC entry: TOC: Two --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch02
Ignoring missing TOC entry: TOC: Three --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch03
Ignoring missing TOC entry: TOC: Four --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch04
Ignoring missing TOC entry: TOC: Five --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch05
Ignoring missing TOC entry: TOC: Six --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch06
Ignoring missing TOC entry: TOC: Seven --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch07
Ignoring missing TOC entry: TOC: Eight --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch08
Ignoring missing TOC entry: TOC: Nine --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch09
Ignoring missing TOC entry: TOC: Ten --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch10
Ignoring missing TOC entry: TOC: Eleven --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch11
Ignoring missing TOC entry: TOC: Twelve --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch12
Ignoring missing TOC entry: TOC: Thirteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch13
Ignoring missing TOC entry: TOC: Fourteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch14
Ignoring missing TOC entry: TOC: Fifteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch15
Ignoring missing TOC entry: TOC: Sixteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch16
Ignoring missing TOC entry: TOC: Seventeen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch17
Ignoring missing TOC entry: TOC: Eighteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch18
Ignoring missing TOC entry: TOC: Nineteen --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch19
Ignoring missing TOC entry: TOC: Twenty --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch20
Ignoring missing TOC entry: TOC: Twenty-One --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch21
Ignoring missing TOC entry: TOC: Twenty-Two --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch22
Ignoring missing TOC entry: TOC: Twenty-Three --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch23
Ignoring missing TOC entry: TOC: Twenty-Four --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch24
Ignoring missing TOC entry: TOC: Twenty-Five --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch25
Ignoring missing TOC entry: TOC: Twenty-Six --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch26
Ignoring missing TOC entry: TOC: Twenty-Seven --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch27
Ignoring missing TOC entry: TOC: Twenty-Eight --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch28
Ignoring missing TOC entry: TOC: Twenty-Nine --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch29
Ignoring missing TOC entry: TOC: Thirty --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch30
Ignoring missing TOC entry: TOC: Thirty-One --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch31
Ignoring missing TOC entry: TOC: Thirty-Two --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch32
Ignoring missing TOC entry: TOC: Thirty-Three --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch33
Ignoring missing TOC entry: TOC: Thirty-Four --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch34
Ignoring missing TOC entry: TOC: Thirty-Five --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch35
Ignoring missing TOC entry: TOC: Thirty-Six --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch36
Ignoring missing TOC entry: TOC: Thirty-Seven --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch37
Ignoring missing TOC entry: TOC: Thirty-Eight --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch38
Ignoring missing TOC entry: TOC: Thirty-Nine --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch39
Ignoring missing TOC entry: TOC: Forty --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch40
Ignoring missing TOC entry: TOC: Forty-One --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch41
Ignoring missing TOC entry: TOC: Forty-Two --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch42
Ignoring missing TOC entry: TOC: Forty-Three --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch43
Ignoring missing TOC entry: TOC: Forty-Four --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch44
Ignoring missing TOC entry: TOC: Forty-Five --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch45
Ignoring missing TOC entry: TOC: Forty-Six --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ch46
Ignoring missing TOC entry: TOC: Acknowledgments --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ack01
Ignoring missing TOC entry: TOC: About the Author --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ata01
Ignoring missing TOC entry: TOC: Credits --> /G%3a/books/anna%20godbersen/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors/Anna%20Godbersen%20-%20%5bLuxe%2002%5d%20-%20Rumors.html#ill01
CNCX utilization: 1 record, 0% full
No entries found in TOC ...

Writing unindexed mobi ...
Serializing images...
MOBI output written to c:\users\xxxx\appdata\local\temp\calibre_0.7.35_tm p_nzs0wg\calibre_0.7.35_hpzwjo.mob


I don't think it's a problem with the PDF since every file I've tried to convert today has had this problem.

Does anyone know what's going on?

Thank you
goldenhair is offline   Reply With Quote