View Single Post
Old 01-16-2011, 05:20 PM   #402
Fashtas
Junior Member
Fashtas began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Kindle 2
I'm having some issues generating a catalog. I've generated one before with (almost) the same set of books, but added some more and changed a few tags and now I am getting the following error:

ValueError: Cannot open image from empty data string

Unlike the issues with Inconsistent Author Sort values (which I had before) there is no sign that I can see of what book is causing the issue

The only thing I haven't tried was the recommended check for Tag problems (The quick way to confirm this is to change the regex expression in the EPUB/MOBI options tab) because I can't find any setting tab or screen called "EPUB/MOBI Options"

This is using 0.7.38. I had tried 39, with the obvious problems, then went to 40, which had errors uploading to the Kindle, so rolled back to 38 because I needed to fill a Kindle before an overseas trip

Spoiler:
ERROR: Conversion Error: <b>Failed</b>: Generate catalog

Generate catalog
Catalog_EPUB_MOBI(): Generating mobi for kindle in GUI environment
connected_device: 'Amazon Kindle'
mount point: G:\documents
book count: 732
Sections: Authors, Titles, Recently Added, Genres, Descriptions
opts:
authorClip: 60
catalog_title: u"Walter's Books"
connected_kindle: True
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: True
thumb_width: '1.00'
wishlist_tag: u'Wishlist'
existing thumb cache at C:\Users\Chris\AppData\Roaming\calibre\caches\cata log\thumbs.zip, cached_thumb_width: 1.00"
Begin catalog source generation
DPI = 168; thumbnail dimensions: 84 x 112
Collecting Kindle bookmarks matching catalog entries
24 genre tags in database (excluding genres matching \[.+\]):
Adventure, Catalog, Childrens, Classic, Diskworld, Fiction, Hard Science,
Historical, Law and Order, Literature, Magic, Nonfiction, Sci-Fi Short,
Spy, Strange, Thriller, detective, fantasy, humor, mystery, science fiction,
vampire, war, zombie
Genre summary: 16 active genre tags used in generating catalog with 732 titles
Childrens: 13 titles
Classic: 2 titles
Diskworld: 40 titles
Fiction: 711 titles
Hard Science: 3 titles
Historical: 11 titles
Law and Order: 11 titles
Magic: 19 titles
Nonfiction: 12 titles
Spy: 64 titles
Strange: 10 titles
Thriller: 12 titles
fantasy: 134 titles
humor: 41 titles
mystery: 48 titles
science fiction: 284 titles
Python function terminated unexpectedly
Cannot open image from empty data string (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 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 61, in gui_catalog
File "site-packages\calibre\library\catalog.py", line 5020, in run
File "site-packages\calibre\library\catalog.py", line 1357, in buildSources
File "site-packages\calibre\library\catalog.py", line 2881, in generateThumbnails
File "site-packages\calibre\library\catalog.py", line 4672, in generateThumbnail
File "site-packages\calibre\utils\magick\draw.py", line 77, in thumbnail
File "site-packages\calibre\utils\magick\__init__.py", line 111, in load
ValueError: Cannot open image from empty data string
Fashtas is offline