View Single Post
Old 03-03-2009, 09:24 PM   #3
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Quote:
Originally Posted by kovidgoyal View Post
--max-toc-links=0
And I put this where, exactly? If I put it in the XPath window, the conversion crashes. Here:

Quote:
Job: **Convert book: Diamonds in the Sky**
**tuple**: ('TypeError', u"'bool' object is not iterable")
**Traceback**:
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 177, in any2epub
File "contextlib.pyo", line 34, in __exit__
File "contextlib.pyo", line 113, in nested
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 177, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 409, in convert
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 243, in parse_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 122, in __init__
File "C:\Program Files\calibre\library.zip\calibre\ebooks\html.py", line 592, in detect_chapters
TypeError: 'bool' object is not iterable

**Log**:
Exploding MOBI file: c:\docume~1\nathan~1\locals~1\temp\calibre_0.4.142 _feuqw9.prc
Creating EPUB file...
[DEBUG] Processing HTMLFile:0:a:c:\docume~1\nathan~1\locals~1\temp\ca libre_0.4.142_j9x9bm_any2epub2\Diamonds_in_the_Sky .html...
[INFO] Parsing temp\calibre_0.4.142_j9x9bm_any2epub2\Diamonds_in_ the_Sky.html
('TypeError', u"'bool' object is not iterable")
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 177, in any2epub
File "contextlib.pyo", line 34, in __exit__
File "contextlib.pyo", line 113, in nested
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 177, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 409, in convert
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 243, in parse_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _html.py", line 122, in __init__
File "C:\Program Files\calibre\library.zip\calibre\ebooks\html.py", line 592, in detect_chapters
TypeError: 'bool' object is not iterable

And I still have copies created with .4.141. They don't have exhibit this bug.
Nate the great is offline   Reply With Quote