View Single Post
Old 01-17-2023, 05:12 PM   #480
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Is there any risk of permanent damage if I accidentally open a stable version of Calibre where a new function hadn't been added?

The only thing I can think of is a error'd save path if I send a book to device while the template is (indirectly, using a composite column) using switch_if().
The template will internally throw an exception if a function doesn't exist. In the case of save_to_disk, this exception propagates out and the save fails.

In other contexts, which I think includes most places including device drivers, the value of the template is the error message. This can affect the value of composite columns, so anything that depends on them will "see" the wrong answer. Whether this results in permanent damage I can't say.
chaley is offline   Reply With Quote