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
347 stars 27 forks source link

Connect to server errors after relaunching Pandrator, after it froze #63

Open luckyluca opened 2 weeks ago

luckyluca commented 2 weeks ago

If Pandrator freezes and it is closed by pressing the top right x, when it is launched again (with xtts running), pressing connect to server gives the following error. Screenshot 2024-11-08 111916

The workaround is to close Pandrator, close the installer (and so xtts), relaunch the installer and both xtts and pandrator together to make it work.

P.s. Pandrator never freezes when following the right steps. But occasionally I break the workflow, especially when wanting to re-generating audio: Pandator freezes if audio files and other files are present already.

lukaszliniewicz commented 2 weeks ago

XTTS server is closed when Pandrator is closed (or at least it should be like that - to clear VRAM). Have you tried launching Pandrator and the XTTS server after a crash without closing the launcher first? If XTTS is already running it will throw a "Port is already in use" error.