Sigil v. 1.9.20, Plugin v. 0.5.0, Windows 10, 64 bit.
I applied the plugin to an epub2 and got the following message:
Code:
Status: failed
Python version: 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)]
Running CustomCleanerPlus...
-- Copy to work dir...wrap0000.html
-- Copy to work dir...4791824656362272078_16425-8-0.txt.html
-- Copy to work dir...4791824656362272078_16425-8-1.txt.html
-- Copy to work dir...4791824656362272078_16425-8-2.txt.html
-- Copy to work dir...4791824656362272078_16425-8-3.txt.html
-- Copy to work dir...4791824656362272078_16425-8-4.txt.html
-- Copy to work dir...4791824656362272078_16425-8-5.txt.html
-- Copy images to work dir...C:\Users\Juerg\AppData\Local\Temp\tmpjeb5476q\6308072537968574473_16425-cover.png
-- Write to work dir...C:\Users\Juerg\AppData\Local\Temp\tmpjeb5476q\pgepub.css
-- Write to work dir...C:\Users\Juerg\AppData\Local\Temp\tmpjeb5476q\0.css
-- Processing automatic tasks...
-- Clean and reformat the html
>>> In getHREF_ID_Epub...
>>> xhtml file list...
wrap0000.html
4791824656362272078_16425-8-0.txt.html
4791824656362272078_16425-8-1.txt.html
4791824656362272078_16425-8-2.txt.html
4791824656362272078_16425-8-3.txt.html
4791824656362272078_16425-8-4.txt.html
4791824656362272078_16425-8-5.txt.html
TOC.NCX ids added to HREF_IDS..
pg-header
TOC.NCX ids added to HREF_IDS..
id00002
TOC.NCX ids added to HREF_IDS..
id00003
TOC.NCX ids added to HREF_IDS..
id00004
TOC.NCX ids added to HREF_IDS..
id00018
TOC.NCX ids added to HREF_IDS..
id00020
TOC.NCX ids added to HREF_IDS..
id00021
TOC.NCX ids added to HREF_IDS..
id00030
TOC.NCX ids added to HREF_IDS..
id00041
TOC.NCX ids added to HREF_IDS..
id00042
TOC.NCX ids added to HREF_IDS..
id00043
TOC.NCX ids added to HREF_IDS..
id00080
TOC.NCX ids added to HREF_IDS..
id00104
TOC.NCX ids added to HREF_IDS..
id00153
TOC.NCX ids added to HREF_IDS..
id00185
TOC.NCX ids added to HREF_IDS..
id00250
TOC.NCX ids added to HREF_IDS..
id00393
TOC.NCX ids added to HREF_IDS..
id00508
TOC.NCX ids added to HREF_IDS..
id00607
TOC.NCX ids added to HREF_IDS..
id00661
TOC.NCX ids added to HREF_IDS..
id00842
TOC.NCX ids added to HREF_IDS..
id00946
TOC.NCX ids added to HREF_IDS..
id01007
TOC.NCX ids added to HREF_IDS..
id01082
TOC.NCX ids added to HREF_IDS..
id01148
TOC.NCX ids added to HREF_IDS..
id01225
TOC.NCX ids added to HREF_IDS..
id01295
TOC.NCX ids added to HREF_IDS..
id01361
TOC.NCX ids added to HREF_IDS..
id01419
TOC.NCX ids added to HREF_IDS..
id01467
TOC.NCX ids added to HREF_IDS..
id01538
TOC.NCX ids added to HREF_IDS..
id01620
TOC.NCX ids added to HREF_IDS..
pgepubid00000
>>> File type is: HTML
>>> Doctype is:
>>> Epub version is:
Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\plugin.py", line 160, in run
processAllTasks(bk, WDIR, t_fnames, s_fnames, s_ids)
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\cutils2.py", line 61, in processAllTasks
docTidyNoWrap(wdir, file)
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\doc_tidy.py", line 131, in docTidyNoWrap
html, errors = tidy_document(xhtml, options=base_options)
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\tidylib\tidy.py", line 292, in tidy_document
return get_module_tidy().tidy_document(text, options)
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\tidylib\tidy.py", line 304, in get_module_tidy
_tidy = Tidy()
File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\tidylib\tidy.py", line 158, in __init__
raise OSError(
OSError:
Could not load library: C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\tidylib\win64\tidy.dll
Error:
Could not load library: C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\CustomCleanerPlus\tidylib\win64\tidy.dll
I understood that it didn't work, because the content is HTML. But, what can I do, please?