View Single Post
Old 07-17-2025, 12:26 PM   #1
msel
Connoisseur
msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.msel is at one with the great books of the world.
 
msel's Avatar
 
Posts: 74
Karma: 143132
Join Date: Sep 2010
Device: Kindle Keyboard 3G
Template error Saving books to disk

Hello,

i've used a template for saving books to disk:

{publisher:.2}/{publisher}/{series:sublist(0,1,.)}/{series:sublist(1,2,.)}/{series:sublist(2,3,.)}/{series:sublist(3,4,.)}/{series:sublist(4,5,.)}/{title}_{series_index}/{title}

It works for me and I had no problems with this template until version 8.6 of calibre.

Now, when I try to edit the template and use apply calibre throws this error:
calibre, version 8.6.0
ERROR: Invalid template: <p>The template {publisher:.2}/{publisher}/{series:sublist(0,1,.)}/{series:sublist(1,2,.)}/{series:sublist(2,3,.)}/{series:sublist(3,4,.)}/{series:sublist(4,5,.)}/{title}_{series_index}/{title} is invalid:<br>'ValidateFormatter' object has no attribute '_validation_string'

When using the template there is no error and calibre also show no error, when using the template in the template editor. Only If I want to apply the template on the tab setting "Saving books to disk".

Greetings from the Muensterland
Maria
msel is offline   Reply With Quote