View Single Post
Old 05-10-2009, 12:21 PM   #1
artbatista
Groupie
artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.artbatista ought to be getting tired of karma fortunes by now.
 
artbatista's Avatar
 
Posts: 193
Karma: 1032826
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
crash converting .MOBi to EPUB

I am trying to convert a MOBI ebook, but it keep crashing on me. This book was created using Mobi Creator and it reads fine in Mobi reader.

Using Calibre 0.5.10

Art

================================
Job: **Convert book: East of the Sun, West of the Moon**
**tuple**: ('XMLSyntaxError', u'Memory allocation failed : growing buffer')
**Traceback**:
Traceback (most recent call last):
File "parallel.py", line 958, in worker
File "parallel.py", line 916, in work
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 480, in convert
File "calibre\ebooks\epub\split.pyo", line 503, in split
File "calibre\ebooks\epub\split.pyo", line 434, in fix_content_links
File "lxml\html\__init__.pyo", line 591, in fromstring
File "lxml\html\__init__.pyo", line 501, in document_fromstring
File "lxml.etree.pyx", line 2440, in lxml.etree.fromstring (src/lxml/lxml.etree.c:23985)
File "parser.pxi", line 1510, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:63925)
File "parser.pxi", line 1389, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:62857)
File "parser.pxi", line 931, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60016)
File "parser.pxi", line 542, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56659)
File "parser.pxi", line 628, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57504)
File "parser.pxi", line 568, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56902)
XMLSyntaxError: Memory allocation failed : growing buffer

**Log**:
Exploding MOBI file: c:\users\arturo\appdata\local\temp\calibre_0.5.10_ 6efz1c.mobi
Creating EPUB file...
[DEBUG] Processing HTMLFile:0:a:c:\users\arturo\appdata\local\temp\ca libre_0.5.10_ksb088_any2epub2\Counil_War_0-st_of_the_Moon.html...
[INFO] Parsing temp\calibre_0.5.10_ksb088_any2epub2\Counil_War_0-st_of_the_Moon.html
[INFO] Detected chapter: Chapter One
[INFO] Detected chapter: Chapter Two
[INFO] Detected chapter: Chapter Three
[INFO] Detected chapter: Chapter Four
[INFO] Detected chapter: Chapter Five
[INFO] Detected chapter: Chapter Six
[INFO] Detected chapter: Chapter Seven
[INFO] Detected chapter: Chapter Eight
[INFO] Detected chapter: Chapter Nine
[INFO] Detected chapter: Chapter Ten
[INFO] Detected chapter: Chapter Eleven
[INFO] Detected chapter: Chapter Twelve
[INFO] Detected chapter: Chapter Thirteen
[INFO] Detected chapter: Chapter Fourteen
[INFO] Detected chapter: Chapter Fifteen
[INFO] Detected chapter: Chapter Sixteen
[INFO] Detected chapter: Chapter Seventeen
[INFO] Detected chapter: Chapter Eighteen
[INFO] Detected chapter: Chapter Nineteen
[INFO] Detected chapter: Chapter Twenty
[INFO] Detected chapter: Chapter Twenty-One
[INFO] Detected chapter: Chapter Twenty-Two
[INFO] Detected chapter: Chapter Twenty-Three
[INFO] Detected chapter: Chapter Twenty-Four
[INFO] Detected chapter: Chapter Twenty-Five
[INFO] Detected chapter: Chapter Twenty-Six
[INFO] Detected chapter: Chapter Twenty-Seven
[INFO] Detected chapter: Chapter Twenty-Eight
[INFO] Detected chapter: Chapter Twenty-Nine
[INFO] Detected chapter: Chapter Thirty
[ERROR] Property: Invalid value for "CSS Level 2.1" property: margin-top: 2
[INFO] Rationalizing fonts...
[DEBUG] Done rationalizing
[DEBUG] Saving stylesheets...
[INFO] Splitting calibre_title_page.html (0 KB)
[INFO] Splitting on page breaks...
[INFO] Looking for large trees...
[INFO] No large trees found
[INFO] Splitting Counil_War_0-st_of_the_Moon.xhtml (906 KB)
[INFO] Splitting on page breaks...
[INFO] Splitting on page-break
[INFO] Splitting on page-break
.
.
.
.
[INFO] Splitting on page-break
[INFO] Splitting on page-break
[INFO] Looking for large trees...
[DEBUG] Splitting...
[DEBUG] Splitting...
.
.
.
.
.DEBUG] Splitting...
[DEBUG] Splitting...
[DEBUG] Committed sub-tree #1 (251 KB)
[DEBUG] Splitting...
[DEBUG] Splitting...
.
.
.
.
[DEBUG] Splitting...
[DEBUG] Splitting...
[DEBUG] Committed sub-tree #1 (257 KB)
[DEBUG] Committed sub-tree #2 (257 KB)
[INFO] Split into 3 parts.
[INFO] Counil_War_0-st_of_the_Moon_split_0.html - 503 KB
[INFO] Counil_War_0-st_of_the_Moon_split_1.html - 257 KB
[INFO] Counil_War_0-st_of_the_Moon_split_2.html - 257 KB
('XMLSyntaxError', u'Memory allocation failed : growing buffer')
Traceback (most recent call last):
File "parallel.py", line 958, in worker
File "parallel.py", line 916, in work
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 480, in convert
File "calibre\ebooks\epub\split.pyo", line 503, in split
File "calibre\ebooks\epub\split.pyo", line 434, in fix_content_links
File "lxml\html\__init__.pyo", line 591, in fromstring
File "lxml\html\__init__.pyo", line 501, in document_fromstring
File "lxml.etree.pyx", line 2440, in lxml.etree.fromstring (src/lxml/lxml.etree.c:23985)
File "parser.pxi", line 1510, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:63925)
File "parser.pxi", line 1389, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:62857)
File "parser.pxi", line 931, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60016)
File "parser.pxi", line 542, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56659)
File "parser.pxi", line 628, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57504)
File "parser.pxi", line 568, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56902)
XMLSyntaxError: Memory allocation failed : growing buffer

Last edited by artbatista; 05-10-2009 at 12:40 PM.
artbatista is offline   Reply With Quote