Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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: 73
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
Old 07-17-2025, 01:00 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
See bug report 2116864. The fix will be in the next preview/release. You can revert to release 8.5 to avoid the error.
chaley is offline   Reply With Quote
Old 07-17-2025, 01:22 PM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by chaley View Post
See bug report 2116864. The fix will be in the next preview/release. You can revert to release 8.5 to avoid the error.
If rather than going to Preferences | Saving books to disk and changing the template there you can go to Preferences | Plugins | Device Interface and find the relevant plugin, you can do a customize plugin there and change the template there with no error.

(Or with the device attached, you can right click on the device icon in the menu and select Configure this device and change the template there).
PeterT is offline   Reply With Quote
Old Yesterday, 02:08 AM   #4
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: 73
Karma: 143132
Join Date: Sep 2010
Device: Kindle Keyboard 3G
Hello Chaley, thank you. I think the problem is solved with version 8.7.
Greetings from the Münsterland
Maria
msel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
saving books to disk template chris33 Server 6 09-10-2023 03:40 AM
Rating-template and saving to Disk Tanjamuse Library Management 0 01-09-2020 04:04 AM
Help with a 'Saving Books to Disk' Template Vortex Calibre 5 12-04-2014 09:18 AM
Calibre 1.25.0 Error Saving to Disk diazlaz Calibre 4 02-28-2014 10:42 AM
Saving to Disk Template hurricane51 Conversion 2 07-07-2011 01:22 AM


All times are GMT -4. The time now is 01:25 AM.


MobileRead.com is a privately owned, operated and funded community.