Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer use .DOCX as source file #66

Open
Snoddas76 opened this issue Nov 18, 2024 · 1 comment
Open

Can no longer use .DOCX as source file #66

Snoddas76 opened this issue Nov 18, 2024 · 1 comment

Comments

@Snoddas76
Copy link

Hi!

I have an issue after a new install of Pandrator. I have used .DOCX files as source without issues. Then, after Conda server stopped working, I reinstalled Pandrator and suddenly I can no longer use .DOCX files as source file. When I load the .DOCX file, it looks fine in the GUI but in the Conda command window I get this error:

Exception in Tkinter callback
Traceback (most recent call last):
File "D:\TTS\Pandrator\conda\envs\pandrator_installer\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "D:\TTS\Pandrator\conda\envs\pandrator_installer\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "D:\TTS\Pandrator\Pandrator\pandrator.py", line 2711, in select_file
if run_ebook_convert(["ebook-convert", self.pre_selected_source_file, txt_path]):
File "D:\TTS\Pandrator\Pandrator\pandrator.py", line 2705, in run_ebook_convert
subprocess.run(command, check=True)
File "D:\TTS\Pandrator\conda\envs\pandrator_installer\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\TTS\Pandrator\conda\envs\pandrator_installer\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\TTS\Pandrator\conda\envs\pandrator_installer\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Other file types work, but they don't generate the text correctly so I really want to use .DOCX.

Any help would be appreciated, thanks.

@Snoddas76
Copy link
Author

Also, I have tried reinstalling several times, still the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant