View Single Post
Old 02-15-2020, 06:20 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,918
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Marco77 View Post
Hello,
So I've run into this case when the plugin crashes on clicking scramble, the input file not being compliant (missing metadata element in opf)

Code:
for child in [e for e in self.eb.opf_xpath('//opf:metadata')[0]]:
(IndexError: list index out of range)

dunno if you're willing to fix this since it's an edge case, but it might be better to add a try except handling just in case things go south unpredictably.
I would say not going to happen. The plugin works with compliant ePub and if your ePub has errors, then you need to fix them before running the plugin.
JSWolf is offline   Reply With Quote