I need an exception trace. Run calibre in debug mode (click the down arrow on Preferences and choose Restart in debug mode) and post the exception(s) from the log.
FWIW: your #authors_namesinverted column can be better expressed as
{authors:'list_re_group($, ' & ', '.', '(^.*$)', '[[$:swap_around_comma()]]')'}
or as I would prefer:
program: list_re_group($authors, ' & ', '.', '(^.*$)', '{$:swap_around_comma()}')
And unless you have a reason to have two columns I would do this to build the inverted comma-separated list directly from the authors column:
program:
res = '';
for author in $authors separator ' & ':
author = swap_around_comma(author);
if !res then
res = author
else
res = strcat(res, ', ', author)
fi
rof
I included the above in the attached txt file in case launchpad breaks the lines in strange ways
I need an exception trace. Run calibre in debug mode (click the down arrow on Preferences and choose Restart in debug mode) and post the exception(s) from the log.
FWIW: your #authors_ namesinverted column can be better expressed as 'list_re_ group($ , ' & ', '.', '(^.*$)', '[[$:swap_ around_ comma() ]]')'} group($ authors, ' & ', '.', '(^.*$)', '{$:swap_ around_ comma() }')
{authors:
or as I would prefer:
program: list_re_
And unless you have a reason to have two columns I would do this to build the inverted comma-separated list directly from the authors column: comma(author) ;
program:
res = '';
for author in $authors separator ' & ':
author = swap_around_
if !res then
res = author
else
res = strcat(res, ', ', author)
fi
rof
I included the above in the attached txt file in case launchpad breaks the lines in strange ways