Quote:
Originally Posted by capink
Thanks for the exhaustive list of commands. Should be useful for future reference.
I share your view that the temporary directory location seems odd. But lizzie1170 indicated in a previous post the directory was created but was missing the converted temp.txt file, which is consistent with the ebook-convert error.
So, I modified the first chain and attached it to this post. Note that you need to remove the old chain first to be able to import the modified version (because of name clashes).
|
I imported the latest code. I have the portable version on an external hard drive, I found that ebook-convert is located at:
D:\User\Calibre Portable\Calibre\ebook-convert.exe
I edited this path in the code.
converter = 'D:\USER\Calibre Portable\Calibre\ebook-convert.exe'
I got the same error:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\USER\\AppData\\Local\\Temp\\tmp_mmjtpdw\\temp .txt'
Maybe it's because of the paths I've set for the environment variables?
** CALIBRE_CONFIG_DIRECTORY = D:\USER\Calibre Portable\Calibre Settings
** CALIBRE_DEVELOP_FROM = D:\USER\Calibre Portable\calibre-6.3.0\src
** CALIBRE_TEMP_DIR = C:\USER\AppData\Local\Temp
When I ran debug mode.
"D:\User\Calibre" is not recognized as an internal or external command, operable program or batch file.
Traceback (most recent call last):
File "calibre_plugins.action_chains.chains", line 182, in _run_loop
File "calibre_plugins.action_chains.actions.code", line 130, in run
File "module", line 49, in run
File "module", line 29, in tags_from_epub
Maybe it's the path to ebook-convert?