Quote:
Originally Posted by DaBear78
Every time I try to use your plugin (v0.7.2, Sigil 0.9.9) I get this error:
|
The author must have accidentally uploaded an older version, because in the downloaded version one commented-out line causes this error.
You might be able to fix this yourself:
1. Locate the ePubOptimizer plugin folder in the Sigil plugins folder (Edit > Preferences > Open Preferences Location)
2. Open plugin.py with a text editor and change the following line from:
Code:
#result = OptiWrapper(*args)
to
Code:
result = OptiWrapper(*args)
(I.e. remove the
# sign.)
3. (Optional) open plugin.xml and insert the following line:
Code:
<autostart>true</autostart>
after:
Code:
<name>ePUBOptimizer</name>
(This'll automatically start the plugin.)
If this doesn't fix your problem, current Calibre versions offer font subsetting and image optimization features via the
Polish ePub tool.