Ticket #4710 (closed defect: fixed)
new author_sort[0] for sending to device/saving causes error
| Reported by: | markbond | Owned by: | kovidgoyal |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Default | Version: | trunk |
| Keywords: | Cc: |
Description
Mac OSX calibre version 0.6.36, when adding the {author_sort[0]} to the save/send to device path I get the following error:
ERROR: Invalid template: <p>The template {author_sort[0]}/{author_sort}/{series} {series_index:0>3s} {title} - {authors} is invalid:<br>string index out of range
Attachments
Change History
comment:2 Changed 7 months ago by markbond
There is no show details button, this error pops up when I try to OKay the preferences and all it has is a copy button (which copies the error to clipboard) and an ok button.
Just opened up the SQL DB as well and run "select * from books where author_sort=" this returns an empty result (ie no books with author_sort set to blank).
Note: See
TracTickets for help on using
tickets.


Make sure you dont have any empty author sort strings in you library, but you still should not be getting this error (calibre ignores template components that use invalid indexes. WHat is the full error message (click show details).