@Kovid, anyone...
I keep running into the following error when trying to save a cleaned version of the epub's html:
Code:
Traceback (most recent call last):
File "D:\ECleaner\Plugin\main.py", line 1339, in slotCleanAndOpenEpub
cleaner.clean(epub)
File "D:\ECleaner\Plugin\main.py", line 472, in clean
with codecs.open(path, 'w', 'utf-8') as xhtml_xml_file:
File "D:\Software\Portable\Python 3.2.0.1\App\lib\codecs.py", line 884, in open
file = builtins.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\ref21\\locals~1\\temp\\tmpkt51bwEbookCleaner\\CLEANED\\text.html'
I tried both codecs.open() and open(), and I
am using 'w' mode. So why does it refuse to create the file? (By the way, 'tmpkt51bwEbookCleaner' does exist, only 'CLEANED\\text.html' doesn't)