Thread: ePUB Optimizer
View Single Post
Old 11-12-2021, 01:19 PM   #165
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 316
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Peter Ahlstrom View Post
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.
Thank you very much for the suggestion, I'll give it a shot when I get a chance, and I'll come back either way.
phillipgessert is offline   Reply With Quote