View Single Post
Old 04-17-2014, 08:27 PM   #1
rbroberts
Junior Member
rbroberts began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Brooklyn, NY
Device: Nook Color, Kindle 3G
Bogus error in save template from custom column

I have a Samsung Galaxy Note 10.1 (2014) that I'm trying to get files onto. I've defined a couple of custom columns pretty much out of the help pages on the calibre web site

series_stripped: {series:re(^(A|The|An)\s+,)||}
series_initials: {#stripped_series:re(([^\s])[^\s]+(\s|$),\1)}

But when I attempt to "Configure this device" for and use #series_initials in the template, I get an exception

{series:'ifempty($,field('author'))'||/}{#series_initials:|| }{title}
EXCEPTION: Value: unknown field #series_initials

I finally just saved it anyway. It worked.

Calibre 1.32, Fedora 20, x86-64
rbroberts is offline   Reply With Quote