lukaszliniewicz / Pandrator

Turn PDFs and EPUBs into audiobooks, subtitles or videos into dubbed videos (including translation), and more. For free. Pandrator uses local models, notably XTTS, including voice-cloning (instant, RVC-enhanced, XTTS fine-tuning) and LLM processing. It aspires to be a user-friendly app with a GUI, an installer and all-in-one packages.
GNU Affero General Public License v3.0
344 stars 26 forks source link

Can no longer use .DOCX as source file #66

Open Snoddas76 opened 4 days ago

Snoddas76 commented 4 days ago

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 commented 4 days ago

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