Generate Catalog as BibTeX «KeyError: u'library_name'» error

Bug #1158127 reported by Alan Aversa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
sengian

Bug Description

I selected three books in Calibre 0.9.23 for which I wanted to generate a BibTeX catalog, but I get the following error:

calibre, version 0.9.23 (linux2, isfrozen: True)
Conversion Error: Failed: Generate catalog

Generate catalog
Catalog_BIBTEX(): Generating bib
 Book count: 3
 Fields: title,title_sort,author_sort,authors,comments,cover,formats,id,isbn,library_name,ondevice,pubdate,publisher,rating,series_index,series,size,tags,timestamp,uuid,languages,identifiers
 Output file will be encoded in utf8 with strict flag
 BibTeX entry type is mixed with a citation like '{authors}{id}' flag
Traceback (most recent call last):
  File "site.py", line 58, in main
  File "site-packages/calibre/utils/ipc/worker.py", line 189, in main
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 68, in gui_catalog
  File "site-packages/calibre/library/catalogs/bibtex.py", line 395, in run
  File "site-packages/calibre/library/catalogs/bibtex.py", line 146, in create_bibtex_entry
KeyError: u'library_name'

Related branches

Alan Aversa (aversa)
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1158127

Remove the library_name field and you should be fine.

Changed in calibre:
assignee: nobody → sengian (sengian)
status: New → Triaged
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.