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
319 stars 24 forks source link

Pandrator hangs with errors in the console when running 'Generating Dubbing Audio' on a .mp4 #57

Open luckyluca opened 2 hours ago

luckyluca commented 2 hours ago

Everything else seems to work fine, from updating Pandrator to creating audio from existing .srt files and burning the audio onto a .mp4 file.

However, Pandrator hangs with errors in the console when running 'Generating Dubbing Audio' on a .mp4

My setup: I downloaded v026 (small version), then downloaded the latest v027 installer and installed RVC, Whisper and XTTS-fine-tuning from the interface. I then pressed the update button and got Pandrator updated correctly. I have two API env variables for deepL and antrophic.

See the log. pandrator_20241026_160928.log Screenshot 2024-10-26 164619

lukaszliniewicz commented 2 hours ago

I will test it today. In the meantime, could you check if the same problem occurs with the package that has WhisperX preinstalled, perhaps?

luckyluca commented 1 hour ago

Thanks for the quick reply. Using the full archive version, the update button doesn't work and it errors Screenshot 2024-10-26 175735

ERROR:root:Error executing command: E:\fullArchive\Pandrator\conda\Scripts\conda.exe run -n pandrator_installer pip install -r E:\fullArchive\Pandrator\Pandrator\requirements.txt ERROR:root:Error message: Command '['E:\fullArchive\Pandrator\conda\Scripts\conda.exe', 'run', '-n', 'pandrator_installer', 'pip', 'install', '-r', 'E:\fullArchive\Pandrator\Pandrator\requirements.txt']' returned non-zero exit status 1. ERROR:root:STDOUT: ERROR:root:STDERR: ERROR conda.cli.main_run:execute(125): conda run pip install -r E:\fullArchive\Pandrator\Pandrator\requirements.txt failed. (See above for error)

ERROR:root:Failed to update: Command '['E:\fullArchive\Pandrator\conda\Scripts\conda.exe', 'run', '-n', 'pandrator_installer', 'pip', 'install', '-r', 'E:\fullArchive\Pandrator\Pandrator\requirements.txt']' returned non-zero exit status 1. ERROR:root:Traceback (most recent call last): File "pand_inst.py", line 894, in update_pandrator File "pand_inst.py", line 453, in run_command subprocess.CalledProcessError: Command '['E:\fullArchive\Pandrator\conda\Scripts\conda.exe', 'run', '-n', 'pandrator_installer', 'pip', 'install', '-r', 'E:\fullArchive\Pandrator\Pandrator\requirements.txt']' returned non-zero exit status 1.

lukaszliniewicz commented 44 minutes ago

Thanks. I think I know what the issues are. I will upload a fix later today.