Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-20-2010, 08:59 PM   #1
doremifaso
Connoisseur
doremifaso began at the beginning.
 
doremifaso's Avatar
 
Posts: 50
Karma: 10
Join Date: May 2010
Device: Kindle Oasis 2, PW2
Conversion memory error (HTML->EPUB)

I have a a few HTML files that I want to convert to EPUB.

When I was still using Calibre v0.6x, the files converted successfully, but ever since I use 0.7x, the conversion encountered memory error.

In the log file, I keep on seeing the following section over and over again, until my computer memory usage is up to 99% and then it displayed the memory error
.
.
Transformed CSS selector .Heading2Char to .heading2char
Transformed CSS selector .MsoPlainText to .msoplaintext
Transformed CSS selector .Section to .section
Property: Unknown Property name. [6:5: panose-1]
Property: Unknown Property name. [11:5: panose-1]
Property: Unknown Property name. [16:5: panose-1]
.
.
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 898, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 122, in__call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 146, in stylize_spine
File "site-packages\calibre\ebboks\oeb\stylizer.py", line 137, in __int__
File "site-packages\cssutils-0.9.7a4-py2.6.egg\cssutils\parse.py", line 101, in parseString
File "site-packages\cssutils-0.9.7a4-py2.6.egg\cssutils\css\cssstylesheet.py", line 338, in _setCssTextWithEncodingOverride
File "site-packages\cssutils-0.9.7a4-py2.6.egg\cssutils\css\cssstylesheet.py", line 292, in _setCssText
File "site-packages\cssutils-0.9.7a4-py2.6.egg\cssutils\util.py", line 403, in _parse
File "site-packages\cssutils-0.9.7a4-py2.6.egg\cssutils\tokenize2.py", line 131, intokenize
MemoryError

doremifaso is offline   Reply With Quote
Old 06-22-2010, 05:49 PM   #2
doremifaso
Connoisseur
doremifaso began at the beginning.
 
doremifaso's Avatar
 
Posts: 50
Karma: 10
Join Date: May 2010
Device: Kindle Oasis 2, PW2
Anyone know why?
doremifaso is offline   Reply With Quote
Advert
Old 06-22-2010, 06:15 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
How much memory does your computer have?
kovidgoyal is online now   Reply With Quote
Old 06-25-2010, 10:47 PM   #4
doremifaso
Connoisseur
doremifaso began at the beginning.
 
doremifaso's Avatar
 
Posts: 50
Karma: 10
Join Date: May 2010
Device: Kindle Oasis 2, PW2
I am running Vista, and I have 3G of RAM.
doremifaso is offline   Reply With Quote
Old 06-25-2010, 10:56 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Basically the CSS parser is running out of memory. Does your html file have a lot of CSS?
kovidgoyal is online now   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with HTML to ePub conversion...? Nethfel Calibre 4 05-10-2010 02:26 PM
Multiple html to epub conversion. Barthelemy ePub 4 03-30-2010 06:18 AM
'utf8' codec can't decode bytes error (HTML to EPUB conversion) gsz Calibre 10 10-26-2009 06:29 PM
HTML Conversion Error dedicated Calibre 12 12-18-2008 02:36 PM
lrfviewer & reader error after html conversion BrendenM Calibre 3 09-16-2008 11:40 AM


All times are GMT -4. The time now is 11:43 AM.


MobileRead.com is a privately owned, operated and funded community.