Thread: ePUB Optimizer
View Single Post
Old 11-09-2021, 05:47 PM   #160
Peter Ahlstrom
Connoisseur
Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.Peter Ahlstrom ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 500000
Join Date: Oct 2011
Location: Utah
Device: iPad
phillipgessert, I fixed it on my mac. Open ePUBOptimizer/plugin.py in a text editor and find line 87:

args = ["mono", exe_path]

Change it to:

args = ["/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono", exe_path]

Then the plugin will run correctly. You may need to trash plugin.pyc.

Why calling mono from its explicit path works while just using the bare command does not, I have no idea.

Also it's the slowest Sigil plugin I have. Takes at least 3 minutes to finish.

Last edited by Peter Ahlstrom; 11-09-2021 at 05:50 PM.
Peter Ahlstrom is offline   Reply With Quote