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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2012, 07:36 PM   #1
EricBr
Member
EricBr began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2011
Device: Kindle
Catalog Generation Error

In the last couple of days, I have suddenly had an error when trying to generate a catalog of my library in MOBI format. I am running Calibre v 0.8.58 on Windows 7 Pro x64 with 6gb RAM. I "think" it is a problem with the # of books (~7000) because I can generate a catalog of a library that only has ~425 books in it.

Here is the Error Message (I cut out the Titles, Genres, Chapters and other similar items to shorten the message):
================================
calibre, version 0.8.58
ERROR: Conversion Error: <b>Failed</b>: Generate catalog

Generate catalog
Sections: Authors, Titles, Series, Genres, Descriptions
Catalog_EPUB_MOBI(): Generating mobi for kindle in GUI environment
connected_device: 'None'
book count: 7002
opts:
authorClip: 60
catalog_title: u'_Catalog - 2012.06.30 - MOBI'
connected_kindle: False
descriptionClip: 100
exclude_book_marker: u':'
exclude_genre: u'\\[.+]'
exclude_tags: u'~,Catalog'
header_note_source_field: ''
merge_comments: '::True'
output_profile: 'kindle'
read_book_marker: u'tag:+'
search_text: None
sort_by: None
sort_descriptions_by_author: True
sync: False
thumb_width: u'1.00'
wishlist_tag: u'Wishlist'
creating thumbnail archive, thumb_width: 1.00"
Begin catalog source generation
DPI = 168; thumbnail dimensions: 84 x 112
using default cover for ...
Warning: multiple tags resolving to genre '...':
2951 enabled genre tags in database:
Genre summary: 2799 active genre tags used in generating catalog with 6334 titles
Completed catalog source generation

InputFormatPlugin: HTML Input running
on C:\Users\Eric\AppData\Local\Temp\calibre_0.8.58_tm p_q45vxd\voaygm_epub_mobi_catalog\Catalog.opf
Parsing all content...
Merging user specified metadata...
Detecting structure...
Detected chapter: ...
Flattening CSS and remapping font sizes...
Interpreting class and tag selectors case insensitively in the CSS selector: h|div.description>h|p:first-child
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Applying case-transforming CSS...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Python function terminated unexpectedly
(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 192, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 68, in gui_catalog
File "site-packages\calibre\library\catalogs\epub_mobi.py", line 357, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1116, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 197, in convert
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 229, in write_mobi
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 112, in __call__
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 123, in mobimlize_spine
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 533, in mobimlize_elem
MemoryError
Error in sys.exitfunc:
MemoryError
================================

Any ideas on what my problem might be?

Thanks,

Eric
EricBr is offline   Reply With Quote
Old 07-01-2012, 08:31 PM   #2
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
'MemoryError' is a strong clue.

Even if you could build a catalog that big, it wouldn't be very usable on a kindle, if it would even load.

I'd suggest subdividing your library into smaller chunks for cataloging.

G
GRiker is offline   Reply With Quote
Old 07-01-2012, 10:59 PM   #3
EricBr
Member
EricBr began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2011
Device: Kindle
I would agree, but what is interesting, is that it worked with 100 lesss books without any issue at all.

Eric
EricBr is offline   Reply With Quote
Old 07-02-2012, 05:40 AM   #4
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
You apparently found a breaking point.

I recall that when the catalog code was first released, someone built a working catalog with about 3500 books. It seems that you've set a new high-water mark.

G
GRiker is offline   Reply With Quote
Old 07-02-2012, 08:05 AM   #5
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,013
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by GRiker View Post
You apparently found a breaking point.

I recall that when the catalog code was first released, someone built a working catalog with about 3500 books. It seems that you've set a new high-water mark.
Hardly . I can create an EPUB format catalog of my library (with just Title and Author, though), which has almost 50K books in it.

I can't create a Mobi format one, though; that starts eating memory until it hits the 2GB process limit and blows up.
mbovenka is offline   Reply With Quote
Old 07-02-2012, 11:05 AM   #6
EricBr
Member
EricBr began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2011
Device: Kindle
I hadn't thought of trying EPUB... I switched to MOBI a couple of months ago to see how that worked, and didn't think about that being the issue. I'll give EPUB a try and see if that works.

Thanks,

Eric
EricBr is offline   Reply With Quote
Old 07-03-2012, 07:02 PM   #7
EricBr
Member
EricBr began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2011
Device: Kindle
Tried the EPUB and it worked. Thanks for the tip.

Eric
EricBr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catalog generation fails when title contains specific accented characters riki Library Management 8 08-24-2011 02:41 AM
Create Catalog Error tibia Library Management 4 06-20-2011 06:24 AM
Conversion Error when creating Catalog thangnh Library Management 1 02-21-2011 08:38 AM
Catalog Error DoctorOhh Library Management 6 02-15-2011 07:39 PM
Catalog Error - Timed Out AllenH Calibre 4 05-02-2009 04:16 PM


All times are GMT -4. The time now is 01:48 PM.


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