Thread: ePUB Optimizer
View Single Post
Old 12-31-2017, 02:10 PM   #112
DaBear78
Junior Member
DaBear78 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
Every time I try to use your plugin (v0.7.2, Sigil 0.9.9) I get this error:

Code:
Status: failed

C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\ePUBOptimizer.exe C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\dummy.epub
Traceback (most recent call last):
  File "D:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch
    self.exitcode = target_script.run(container)
  File "C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\plugin.py", line 102, in run
    print(result[0].decode('utf-8'))
UnboundLocalError: local variable 'result' referenced before assignment
Error: local variable 'result' referenced before assignment
What can I do?
DaBear78 is offline   Reply With Quote