View Single Post
Old 09-07-2022, 01:48 PM   #34
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,204
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by lizzie1170 View Post
I know that I insist too much, but the result is already very close. I run the code in debug mode.

Code:
"ebook-convert" 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 46, in run
  File "module", line 20, in tags_from_epub
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\XXXXXXXX\\AppData\\Local\\Temp\\tmpocxcipyw\\temp.txt'
Perhaps there may be a clue here.
Yes. The clue is right there. I don't know why your system does not have ebook-convert, while having calibre installed.

Edit: Now the I think about it maybe Windows use a different name for the command line tools e.g. ebook-convert.exe. Maybe someone can confirm this. If so, I can modify the first chain which is better than the second IMO.

Last edited by capink; 09-07-2022 at 01:54 PM.
capink is offline   Reply With Quote