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

Update failing when changing the name of the root folder #62

Open luckyluca opened 3 weeks ago

luckyluca commented 3 weeks ago

Hi, I found a problem when pressing the update button. Moving or renaming the root folder breaks the update.

I installed Pandrator to E:\good\Pandrator\Pandrator

I then renamed good to test, so it reads E:\test\Pandrator\Pandrator I also tried moving the pandrator folder outside, so that it reads E:\Pandrator\Pandrator

After I renamed the root folder, pressing the update button fails. Renaming it back to 'good' solves the issue.

There must be some config files somewhere pointing to E:\good\, any ideas where they might be? Screenshot 2024-11-08 104804

lukaszliniewicz commented 3 weeks ago

Thanks, I'll look into it. There is just one config file, and it doesn't save paths. It must be because absolute paths were hardcoded somewhere.