Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2014, 11:01 AM   #1
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Question Catalog creation error

Hola!

Every month I create mobi, epub, and csv catalogs from my 3 main libraries. This had been going well (as long as the tags were kept in reasonable shape, LoL) up through Feb 1, my last successful batch.

On March 1 I tried to create new catalogs but get the following error:

RuntimeError: File name in directory "72c9dc43-8073-49f4-89d-4c15-a8e9-b45c669d301f-0" and header "72c9dc43-8073-49f4-89df-be4d07f60082-0x71157126" differ.

I get this exact error regardless of which library I try to create a catalog for.
I copied 100 titles from a library (approx 12,000 titles) into a blank library and tried to create a catalog. Same, exact error message whether I try mobi or epub catalogs. CSV catalog works ok, of course.

I always install the latest version of Calibre when it is available, so am currently V1.27 x64. I have made no known changes to my libraries, and the tags are squeeky clean in this library. I ran the library maintenance checks and those are clean as well.

I am stuck!

Thanks for any pointers/tips to resolve this!
MontyJ is offline   Reply With Quote
Old 03-10-2014, 11:14 AM   #2
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It sounds like the catalog thumbnail cache file is corrupted. Try posting the full error message by clicking show details on the error message, that way we can be sure.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-10-2014, 11:24 AM   #3
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
It sounds like the catalog thumbnail cache file is corrupted. Try posting the full error message by clicking show details on the error message, that way we can be sure.
Thanks Kovid. Here is the full error msg:
calibre, version 1.27.0 (win32, isfrozen: True)
Conversion Error: Failed: Generate catalog
Spoiler:

Generate catalog
Sections: Authors, Titles, Series, Genres, Descriptions
Catalog_EPUB_MOBI('Calibre Master Fiction'): Generating mobi for default in GUI environment, locale: 'English'
connected_device: 'None'
book count: 12246
opts:
author_clip: 100
catalog_title: u'TechSoB - NonFiction'
connected_kindle: False
creator: u'Monday, March 10, 2014'
cross_reference_authors: True
description_clip: 380
exclude_genre: u'\\[.+\\]|^\\+$'
exclusion_rules: ()
fmt: u'mobi'
genre_source_field: u'Tags'
header_note_source_field: ''
merge_comments_rule: '::True'
output_profile: 'default'
prefix_rules: ()
search_text: None
sort_by: None
sort_descriptions_by_author: True
sync: False
thumb_width: u'2.00'
use_existing_cover: True
Begin catalog source generation (0:00:00)
93 enabled genres:
Action, Adolescence, Adult, Adventure, Africa, African American, American,
Anthologies, Anthology, Art, Chase, Childrens, Christian, Christianity,
Classics, Comics, Coming of Age, Contemporary, Contemporary Fiction,
Contemporary Women, Crime, Detective, Domestic Fiction, Domestic Life,
Drama, Epic, Espionage, Essays, European Literature, Fairy Tales, Family Life,
Family Saga, Fantasy, Fiction, France, Franco-Prussian War, General,
Genre Fiction, Ghost, Greek mythology, Historical, History, Horror,
Humanities, Humor, Humorous, Humour, Inspirational, Juvenile, Literary,
Literary Collections, Literary Criticism, Literary Fiction, Literature,
Medical, Military, Modern, Music, Mystery, Occult, Paranormal, Parodies,
Philosophy, Poetry, Politics, Private Investigators, Prose, Psychological,
Regency, Religion, Religious, Romance, Romantic, Sagas, Satire, Serial Killers,
Short Stories, Social Issues, Speculative Fiction, Spirituality, Suspense,
Thriller, Thrillers, Trains, True Crime, United States, Urban, War,
Western, Westerns, Women, Women's Fiction, Young Adult
0 excluded genres:

Custom fields:
#formats 'Formats' composite
Thumbnails:
DPI = 100; thumbnail dimensions: 200 x 266
existing thumb cache at C:\Users\Slick\AppData\Local\calibre-cache\catalog\thumbs.zip, cached_thumb_width: 2.00"
Sorting titles (0:01:02)
Sorting database (0:01:02)
Thumbnails (0:01:04)
unhandled exception in catalog generator
Python function terminated unexpectedly
File name in directory "72c9dc43-8073-49f4-89d-4c15-a8e9-b45c669d301f-0" and header "72c9dc43-8073-49f4-89df-be4d07f60082-0x71157126" differ. (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 195, 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 405, in run
File "site-packages\calibre\library\catalogs\epub_mobi_builde r.py", line 275, in build_sources
File "site-packages\calibre\library\catalogs\epub_mobi_builde r.py", line 4395, in generate_thumbnails
File "site-packages\calibre\utils\zipfile.py", line 760, in __init__
File "site-packages\calibre\utils\zipfile.py", line 877, in _calculate_file_offsets
RuntimeError: File name in directory "72c9dc43-8073-49f4-89d-4c15-a8e9-b45c669d301f-0" and header "72c9dc43-8073-49f4-89df-be4d07f60082-0x71157126" differ.

Last edited by theducks; 03-10-2014 at 12:37 PM.
MontyJ is offline   Reply With Quote
Old 03-10-2014, 11:24 PM   #4
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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, the cache file is corrupted. Search your computer for thumbs.zip and delete it, or run this command in a command prompt to delete it automatically.

Code:
calibre-debug -c "from calibre.constants import cache_dir; import os; os.remove(os.path.join(cache_dir(), 'catalog', 'thumbs.zip'))"
kovidgoyal is offline   Reply With Quote
Old 03-11-2014, 07:28 AM   #5
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Yeah, the cache file is corrupted. Search your computer for thumbs.zip and delete it, or run this command in a command prompt to delete it automatically.

Code:
calibre-debug -c "from calibre.constants import cache_dir; import os; os.remove(os.path.join(cache_dir(), 'catalog', 'thumbs.zip'))"
That did the trick. Thank you!

Monty
MontyJ is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Catalog creation crashes Calibre kledor Library Management 15 10-12-2013 05:43 PM
Catalog error on creation Mixx Library Management 8 01-11-2013 03:54 PM
Catalog Generation Error EricBr Library Management 6 07-03-2012 07:02 PM
Catalog Error DoctorOhh Library Management 6 02-15-2011 07:39 PM
Calibre Catalog Creation & Kindle 3. What am I missing? GeekyGal Introduce Yourself 3 11-10-2010 09:55 PM


All times are GMT -4. The time now is 12:47 PM.


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