View Single Post
Old 09-16-2019, 09:13 PM   #1
masp
Enthusiast
masp began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
EXCEPTION: cannot import name EvalFormatter

Since a recent calibre update one of my custom columns is suddenly broken and is displaying:

EXCEPTION: cannot import name EvalFormatter

for all books. It's a "column built from other columns" using this template:

Code:
{tags:'in_list($, ",",
   "^topic:",                 re_group($, ".* ?topic:([^,]+).*", "[[$]]"),
   ".* ?technical \(",      re_group($, ".* ?technical \((.+?)\).*", "[[$]]"),
   ".* ?technical$",        "",
                                   "")'}
I don't know which update broke it, but I last noticed it working a few months ago. I have other columns "built from other columns" which do still work, for instance one using this template:

Code:
{:'list_re(author_links(":", " & "), " & ", ".*?([^:]+):?$", "\1")'}
so it's something to do with the specific template that seems to be suddenly causing a problem.

Any help greatly appreciated!

Mike
masp is offline   Reply With Quote