lukaszliniewicz/Pandrator

UI hangs in Arch linux

Closed this issue · 1 comments

hitting "new session" doesn't create json file. Only session directory is created after loading book with three .txt files. After connecting to server and hitting "start generation" it hangs UI with doing something in background.

pygame` 2.5.2 (SDL 2.28.2, Python 3.12.3)

Hello from the pygame community. https://www.pygame.org/contribute.html
This plataform is not currently supported, check 'support.txt' file for
            information on how to run this class on other platforms.
[nltk_data] Downloading package punkt to /home/nltk_data...
[nltk_data]   Package punkt is already up-to-date!
Icon file 'pandrator.ico' not found. Proceeding without setting the window icon.
Error details: bitmap "pandrator.ico" not defined
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /run/media/lin/Pandrator/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.epub
Found HTML cover ops/xhtml/cover.html
Parsing all content...
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
        Detected chapter: chapter one
        Detected chapter: chapter two
        Detected chapter: chapter three
        Detected chapter: chapter four
        Detected chapter: chapter five
        Detected chapter: chapter six
        Detected chapter: chapter seven
        Detected chapter: chapter eight
        Detected chapter: chapter nine
        Detected chapter: bonus chapter ten
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'ops/images/logo1.jpg' from manifest
Creating TXT Output...
67% Running TXT Output plugin
Converting XHTML to TXT...
TXT output written to /run/media/lin/Pandrator/Outputs/bn/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.txt
Output saved to   /run/media/lin/Pandrator/Outputs/bn/Fck_Feelings_One_Shrinks_Practical_Advice_for_Managing_All_Lifes.txt
2024-06-16 10:11:11,738 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,740 - DEBUG - http://localhost:8020 "POST /set_speaker_folder HTTP/1.1" 200 75
Speaker folder set to: /run/media/lin/Pandrator/tts_voices
2024-06-16 10:11:11,741 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,742 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939
2024-06-16 10:11:11,743 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:11,744 - DEBUG - http://localhost:8020 "GET /speakers_list HTTP/1.1" 200 28
2024-06-16 10:11:25,928 - DEBUG - Starting new HTTP connection (1): localhost:8020
2024-06-16 10:11:25,930 - DEBUG - http://localhost:8020 "GET /docs HTTP/1.1" 200 939

I'm not able to investigate this on Linux right now, please try running Pandrator in a Windows or Debian VM and the XTTS server on your host.