Ticket #4691 (closed defect: fixed)
Failure to generate catalogue
| Reported by: | mysticalinc | Owned by: | GRiker |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Catalogs | Version: | trunk |
| Keywords: | Cc: |
Description
ERROR: Conversion Error: <b>Failed</b>: Generate catalog
Generate catalog Catalog_EPUB_MOBI:run
path_to_output: c:\users\douglas\appdata\local\temp\calibre_0.6.36_se1ifn_catalog_out.mobi Output format: mobi Book count: 68 opts:
basename: Catalog catalog_title: Doug's Books creator: calibre descriptionClip: 250 exclude_genre: \[[\w ]*\] exclude_tags: ~,Catalog fmt: mobi log: <calibre.utils.logging.Log object at 0x04DC2CF0> note_tag: * output_profile: kindle plugin_path: <class 'calibre.library.catalog.EPUB_MOBI'> read_tag: + search_text: None sort_by: None verbose: True
Catalog Builder?(): Generating mobi for kindle 0.00% fetchBooksByTitle() 0.08% fetchBooksByAuthor() Warning: multiple entries for Author 'Andrew Vachss' with differing Author Sort metadata:
'Vachss, Andrew' != 'VACHSS, ANDREW'
0.15% generateHTMLDescriptions() 0.23% generateHTMLByTitle() 0.31% generateHTMLByAuthor() 0.38% generateHTMLByTags()
using default cover for 'Calibre Quick Start Guide' generating new thumbnail_default.jpg
0.46% generateOPF() 0.54% generateNCXHeader() 0.62% generateNCXDescriptions() 0.69% generateNCXByTitle() 0.77% generateNCXByAuthor() 0.85% generateNCXByTags() Python function terminated unexpectedly
list index out of range (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 59, in gui_catalog File "site-packages\calibre\library\catalog.py", line 2391, in run File "site-packages\calibre\library\catalog.py", line 772, in buildSources File "site-packages\calibre\library\catalog.py", line 1901, in generateNCXByTags
Index Error?: list index out of range
Change History
comment:1 Changed 8 months ago by kovidgoyal
- Owner changed from kovidgoyal to GRiker
- Component changed from Graphical User Interface to Catalogs
comment:2 Changed 8 months ago by GRiker
- Status changed from new to closed
- Resolution set to fixed
This should be resolved with the latest revisions to library.catalog.generateNCXByTags(). The error occurs when there are no tags interpreted as genres in the database. 0.6.37 will have a diagnostic output in the log warning about no genre tags and no Genre section in the output.
